joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c51d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0x1c]
push eax
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetCaretPos]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1c]
mov eax, dword [ebx + 4]
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0xd7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cwde
cmp eax, 0xffffffff
je 0x4c5352
mov edx, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
push esi
movzx eax, ax
push edi
mov edi, dword [edx - 0xc]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x4c523a
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
js 0x4c526b
cmp eax, edi
jg 0x4c5277
cmp word [edx + eax*2], 0x3b
jne 0x4c524d
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
js 0x4c526b
lea edx, [edx + eax*2]
test eax, eax
js 0x4c5274
cmp eax, edi
jg 0x4c5274
cmp word [edx], 0x3b
je 0x4c5281
sub edx, 2
dec eax
jns 0x4c5254
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x4c5284
mov dword [ebp - 0x10], eax
push 0x80070057
call fcn.004011d0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
push 0x66f118
lea eax, [ebp - 0x14]
push eax
call fcn.0040d920
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push 0x66eba8
push ecx
call fcn.00439380
add esp, 8
pop edi
pop esi
test al, al
je 0x4c532c
push 0x66ea40
add ebx, 0x24
lea edx, [ebp - 0x10]
push ebx
push edx
call fcn.00428bb0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x4c52f5
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401370
mov eax, dword [ebp - 0x10]
push 7
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c532c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c5352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c54c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4c54e0
cmp edi, 1
je 0x4c54e0
cmp edi, 0xffffffff
je 0x4c552c
pop edi
xor al, al
pop esi
pop ebp
ret 4
cmp edi, 0xffffffff
je 0x4c552c
mov eax, dword [esi + edi*4]
push ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4c5502
mov ecx, dword [esi + edi*4]
push 5
push ecx
call ebx
xor edx, edx
test edi, edi
sete dl
push 0
mov eax, dword [esi + edx*4]
push eax
call ebx
pop ebx
cmp dword [esi + 0x1c], edi
je 0x4c5547
mov ecx, esi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], edi
call fcn.00467ff0
pop edi
mov al, 1
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x4c5547
xor ecx, ecx
test eax, eax
sete cl
push 5
mov edx, dword [esi + ecx*4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 0x40], edi
call fcn.00467ff0
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x4c59c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2c0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4c59e7
mov ecx, dword [edi + 0x2c0]
push 5
push ecx
call ebx
mov edx, dword [edi + 0x2c4]
push 0
push edx
call ebx
xor ebx, ebx
cmp dword [edi + 0x2dc], ebx
je 0x4c5a02
mov dword [edi + 0x2dc], ebx
lea ecx, [edi + 0x2c0]
mov dword [edi + 0x300], ebx
call fcn.004c24c0
mov dword [edi + 0x5bc], ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x4c5a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 2
push 0xffffffffffffffff
mov esi, ecx
mov eax, dword [esi + 0x4d8]
push 0x100c
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4c5abf
push 0x34
lea ecx, [ebp - 0x34]
push 0
push ecx
call fcn.006100a0
mov eax, dword [esi + 0x4d8]
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
push 0
push 0x104b
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
call ebx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4c5abf
mov eax, dword [ecx]
cmp dword [eax - 4], 1
mov esi, ecx
jle 0x4c5aa9
mov edx, dword [eax - 0xc]
push edx
call fcn.00401370
mov eax, dword [esi]
push 7
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ca4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x716738]
sub esp, 0x100
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x258
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x100]
push edx
push 0x674cb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ca630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
test ecx, ecx
je 0x4ca642
lea esi, [ecx - 0x20]
jmp 0x4ca644
xor esi, esi
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp + 8]
je 0x4ca67e
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
shr ecx, 1
push ecx
mov edi, eax
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [ebp + 8], eax
jge 0x4ca6c4
xor edi, edi
jmp 0x4ca693
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test edi, edi
jne 0x4ca6b9
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x4ca6a5
lea eax, [esi - 0x20]
jmp 0x4ca6a7
xor eax, eax
mov edx, dword [eax + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x18], 0
je 0x4ca6fd
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
cmp eax, dword [ebp + 0x1c]
jle 0x4ca6fd
mov ecx, dword [ebp + 0xc]
push ecx
call edi
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x20]
push edx
push eax
lea ecx, [esi + 0x20]
push ebx
call fcn.004bb600
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4ca880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653da7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esi + 4], ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [ebp - 4], 4
mov dword [esi], vtable.CEnterKeyDlg.0
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x24]
mov ecx, 0x700724
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 6
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x28]
mov ecx, 0x700724
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x2c]
mov ecx, 0x700724
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [esi + 0x20], 3
mov word [esi + 0x30], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cce60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push esi
mov esi, ecx
mov dword [eax], 1
mov ecx, dword [esi + 0x334]
push edi
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x334]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x334]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 0x330]
push edx
call ebx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [esi + 0x330]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x330]
push 0x400
lea ecx, [ebp - 0x84c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x101f
push eax
call edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x19
push ecx
add edx, 0xffffffe7
push edx
push 0
push eax
mov eax, dword [esi + 0x330]
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0
push 0x101f
push ecx
call edi
push 0x40
push 0x17
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [esi + 0x334]
add ecx, 0xffffffe8
push ecx
push 0xa
push eax
push edx
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cd500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4cd549
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4cd699
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cd5c4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4cd5cb
cmp eax, 4
jne 0x4cd5c4
cmp dword [ebp - 0x14c], 0x5a
jae 0x4cd5cb
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4cd688
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x4cd688
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4cd630
add ecx, 0xfffffd64
jmp 0x4cd632
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.004cccb0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4cd677
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4cd566
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cd700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6544a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.004ebcf0
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.005b0e10
mov byte [ebp - 4], 7
mov edx, dword [0x700724]
lea eax, [esi + 0x26c]
mov dword [ebp - 0x14], eax
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xa
lea eax, [esi + 0x29c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xd
mov dword [eax + 0x2c], edi
mov ecx, 0xf
mov edx, 0x15
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], edx
mov byte [ebp - 4], 0xe
mov dword [esi], vtable.CFilespyView.1.0
mov dword [esi + 0x50], vtable.CFilespyView.0
mov dword [esi + 0x2cc], edi
mov dword [esi + 0x2d0], edi
mov byte [ebp - 4], cl
mov dword [esi + 0x2d4], edi
lea eax, [esi + 0x2e4]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x11
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x12
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x14
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], dl
mov byte [esi + 0x32c], 1
mov dword [esi + 0x338], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cdf70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6543ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
xor ebx, ebx
push ebx
lea eax, [edi + 0x14]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004077d0
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push ebx
lea eax, [edi + 0x30]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004077d0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
push ebx
lea eax, [edi + 0x4c]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004077d0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
lea ecx, [esi + 0x68]
push ebx
lea eax, [edi + 0x68]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004077d0
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x84]
mov dword [esi + 0x84], ecx
mov edx, dword [edi + 0x88]
mov dword [esi + 0x88], edx
mov al, byte [edi + 0x8c]
mov byte [esi + 0x8c], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6544d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push 0x6742bc
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00614a04
add esp, 8
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4ce977
push 0xa1
mov ecx, esi
call fcn.004ccc60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004014a0
jmp 0x4ceb3b
mov dword [ebp + 8], 0xa
push 0x1450
call fcn.005fb5ce
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], edi
add esi, 4
mov ecx, esi
call fcn.004676a0
cmp edi, eax
jge 0x4ceaff
push 0x1450
push 0
push ebx
call fcn.006100a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xe68]
push ecx
push 0
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea edx, [ebp - 0xa58]
push edx
push 1
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea eax, [ebp - 0x648]
push eax
push 2
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea ecx, [ebp - 0x440]
push ecx
push 3
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea edx, [ebp - 0x850]
push edx
push 4
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea eax, [ebp - 0xc60]
push eax
push 5
push edi
mov ecx, esi
call fcn.004a1310
push 0x104
lea ecx, [ebp - 0x238]
push ecx
push 5
push edi
mov ecx, esi
call fcn.004a1310
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0xc60]
push ecx
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x648]
push ecx
lea edx, [ebp - 0xa58]
push edx
lea eax, [ebp - 0xe68]
push eax
push str.__s____s____s____s____s____s____s__s
push 0xa28
push ebx
call fcn.0061235c
push 0xa28
call fcn.005fb5ce
add esp, 0x30
mov esi, eax
push 0xa28
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.005be750
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4ceab4
sub eax, ecx
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push eax
push esi
call fcn.006161f6
add esp, 0x10
test eax, eax
jne 0x4ceaf6
push ebx
call fcn.0060faf6
push esi
call fcn.0060faf6
mov edx, dword [ebp - 0x14]
push edx
call fcn.0061466b
add esp, 0xc
push 0xcc
mov ecx, dword [ebp - 0x1c]
jmp 0x4ce961
inc edi
mov esi, dword [ebp - 0x1c]
jmp 0x4ce98d
push ebx
call fcn.0060faf6
mov eax, dword [ebp - 0x14]
push eax
call fcn.0061466b
add esp, 8
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ceb3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.005be7d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + 4]
push 0x52e
push eax
call edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + 4]
push 0x49d
push ecx
call edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc4]
mov edx, dword [eax + 4]
push 0x52f
push edx
call edi
mov ebx, eax
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + 4]
push 0x4b6
push eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + 4]
push 0x4a5
push ecx
call edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push edx
push eax
call edi
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
push ecx
push edx
call edi
lea eax, [ebp - 0x30]
push eax
push ebx
call edi
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4d05eb
push 5
push ebx
call edi
mov ecx, dword [ebp - 4]
push 5
push ecx
call edi
mov edx, dword [ebp - 8]
push 5
push edx
call edi
mov eax, dword [ebp - 0x30]
jmp 0x4d0603
push 0
push ebx
call edi
mov ecx, dword [ebp - 4]
push 0
push ecx
call edi
mov edx, dword [ebp - 8]
push 0
push edx
call edi
mov eax, dword [ebp - 0x40]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x20]
push ecx
add eax, 0xfffffffb
push edx
mov dword [ebp - 0x18], eax
call edi
test eax, eax
je 0x4d0627
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push 1
sub edx, eax
push edx
mov edx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d07e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
push 0x40
sub edx, ecx
push edx
mov edx, dword [ebp - 0x20]
sub edi, edx
push edi
push ecx
push edx
push eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0xc4], 0
jne 0x4d089f
push 0x98
call fcn.00611c8b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4d085b
mov ecx, eax
call fcn.004d1b40
jmp 0x4d085d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc4], eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4d0888
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0xc4]
call fcn.004d06d0
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + 4]
lea edx, [esi + 0xcc]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push 1
sub edx, eax
push edx
mov edx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0xc4]
push ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0xc4]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0xc4]
mov ecx, dword [esi + 4]
push 0x52e
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 3
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10