joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482f75
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 2
pop ecx
mov word [eax], cx
lea ecx, [ebp - 0x14]
call fcn.0040b443
mov ebx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.00483282
push dword [ebp - 0x14]
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edi, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0040b1ff
cmp edi, 0xffffffff
jne 0x483018
mov ebx, dword [ebx + 4]
mov edi, str.255.255.255.255
push edi
call fcn.004248f3
pop ecx
cmp ebx, eax
jne 0x482ff1
test ebx, ebx
je 0x482feb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, edi
movzx ecx, word [eax + edi]
movzx edx, word [edi]
cmp cx, dx
jne 0x48300d
add edi, 2
sub ebx, 1
jne 0x482fd7
xor eax, eax
test eax, eax
je 0x483015
mov eax, dword [esi]
mov ecx, dword [eax + 4]
cmp byte [ecx + esi + 0xd], 0
mov eax, dword [ecx + esi + 8]
je 0x483004
mov eax, dword [eax + 0x38]
mov dword [eax + 0x14], 1
jmp 0x483055
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x482fed
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], edi
test eax, eax
jle 0x48303b
cmp eax, 0xffff
jg 0x48303b
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebx + 2], ax
mov al, 1
jmp 0x483069
mov eax, dword [esi]
mov ecx, dword [eax + 4]
cmp byte [ecx + esi + 0xd], 0
mov eax, dword [ecx + esi + 8]
je 0x48304e
mov eax, dword [eax + 0x38]
mov dword [eax + 0x14], 2
cmp byte [ecx + esi + 0xd], 0
mov eax, dword [ecx + esi + 8]
je 0x483063
mov eax, dword [eax + 0x38]
mov byte [eax + 0x18], 0
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x483070
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
and dword [ebx], 0
mov edi, ecx
mov dword [ebx + 4], eax
mov ecx, 0x3e8
mov eax, esi
inc dword [ebx]
cdq
idiv ecx
mov dword [ebp - 8], eax
imul eax, eax, 0x3e8
sub esi, eax
imul eax, esi, 0x3e8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
cmp byte [ebp + 0x14], al
je 0x4830b9
push ebx
push eax
jmp 0x4830bb
push eax
push ebx
push eax
call dword [sym.imp.WSOCK32.dll_select]
mov esi, eax
test esi, esi
jne 0x4830e9
cmp byte [ebp + 0x14], al
je 0x483142
mov eax, dword [edi]
mov ecx, dword [eax + 4]
cmp byte [ecx + edi + 0xd], 0
mov eax, dword [ecx + edi + 8]
je 0x4830e0
mov eax, dword [eax + 0x38]
mov dword [eax + 0x14], 0x274c
jmp 0x483130
jle 0x483114
push ebx
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x483142
mov eax, dword [edi]
push 0xfffffffffffffffe
pop esi
mov ecx, dword [eax + 4]
cmp byte [ecx + edi + 0xd], 0
mov eax, dword [ecx + edi + 8]
je 0x48310f
mov eax, dword [eax + 0x38]
mov dword [eax + 0x14], esi
jmp 0x483130
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
cmp byte [ecx + edi + 0xd], 0
mov edx, dword [ecx + edi + 8]
je 0x48312d
mov edx, dword [edx + 0x38]
mov dword [edx + 0x14], eax
cmp byte [ecx + edi + 0xd], 0
mov eax, dword [ecx + edi + 8]
je 0x48313e
mov eax, dword [eax + 0x38]
mov byte [eax + 0x18], 0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x48cb5b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xff
push eax
xor esi, esi
lea eax, [ebp - 4]
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
mov edi, ecx
push eax
push esi
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x48cc63
mov eax, ebx
or eax, 0x20019
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 8]
push ecx
push eax
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cc75
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.0048cb5b
push dword [ebp - 8]
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x48cc75
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x48cc12
push str.RegDeleteKeyExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48cc12
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x218]
push 0
push ebx
push ecx
push edi
call eax
jmp 0x48cc23
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, dword [ebp - 0xc]
test eax, eax
jne 0x48cc6a
test esi, esi
je 0x48cc32
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xff
push eax
xor esi, esi
lea eax, [ebp - 4]
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
mov eax, dword [ebp - 0x10]
jne 0x48cba6
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
test esi, esi
je 0x48cc75
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x48cc65
Function at 0x495009
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0040c4db
test al, al
je 0x49508f
mov ecx, dword [ebp - 4]
mov eax, dword [0x4d1910]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x4d1924]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov bl, byte [edi + 0x90]
mov dword [ebp - 8], esi
call fcn.0041b058
cmp dword [edi + 0x48], 0
jl 0x495064
push dword [edi + 0x48]
call fcn.00496e88
cmp bl, 0x12
ja 0x495111
je 0x4950d2
test bl, bl
je 0x4950c6
cmp bl, 4
jbe 0x495155
cmp bl, 8
je 0x4950aa
cmp bl, 0x10
je 0x495098
cmp bl, 0x11
je 0x495165
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp + 0xc], 0
jl 0x49508f
push dword [ebp + 0xc]
push 0
push 0x111d
jmp 0x4950ba
cmp dword [ebp + 0xc], 0
jl 0x49508f
push dword [ebp + 0xc]
push 0
push 0x2001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4951d8
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x49508f
jmp 0x49519e
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x49508f
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041ab80
test byte [edi + 0x92], 0x20
jne 0x4951d8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
call esi
push 5
push dword [edi]
call esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4951d8
cmp bl, 0x13
je 0x49518a
cmp bl, 0x14
je 0x495165
cmp bl, 0x17
je 0x495155
cmp bl, 0x18
je 0x495135
jbe 0x49508f
cmp bl, 0x1b
jbe 0x495155
jmp 0x49508f
cmp dword [ebp + 0xc], 0
jl 0x49508f
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041ab80
jmp 0x4951cd
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x49508f
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041ab80
push 1
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4951d8
cmp dword [ebp + 0xc], 0xfffffffe
je 0x49508f
mov eax, 0xfe000000
cmp dword [ebp + 0xc], eax
jne 0x4951ab
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041ab80
jmp 0x4951d8
push dword [ebp + 0xc]
push 0
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push dword [ebp + 0xc]
push 0
push 0x1026
push dword [ebp - 8]
call esi
push 1
push edi
push dword [ebp + 8]
call fcn.00497d04
cmp dword [0x4d1390], 0
je 0x4951ee
cmp bl, 8
jne 0x4951ee
or eax, 0xffffffff
jmp 0x495091
xor eax, eax
inc eax
jmp 0x495091
Function at 0x496a44
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0040c4db
test al, al
je 0x496ab8
mov ecx, dword [ebp - 8]
mov eax, dword [0x4d1910]
mov esi, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [0x4d1924]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
cmp esi, 0xffffffff
je 0x496b0c
movzx eax, byte [edi + 0x90]
dec eax
sub eax, 1
je 0x496ad3
sub eax, 1
je 0x496ad6
sub eax, 3
je 0x496ace
sub eax, 1
je 0x496ac9
sub eax, 3
je 0x496ac1
sub eax, 0xc
jne 0x496af7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
or esi, 0x4000000
jmp 0x496af7
or esi, 3
jmp 0x496af7
or esi, 0xe
jmp 0x496af7
or esi, 4
push 0
test esi, 0x800
je 0x496ae4
push 1
jmp 0x496aec
or esi, 0x10000
push 0
push 0xcf
push ecx
call edx
mov ecx, dword [ebp + 8]
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x496b49
push esi
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov eax, dword [0x4d1924]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x496b49
push esi
push 0
push 0x1036
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp - 8]
cmp al, 0xff
je 0x496b6e
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x496b6e
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x496b77
push 1
push edi
push ecx
call fcn.00497d04
mov al, byte [edi + 0x90]
cmp al, 2
je 0x496b8a
cmp al, 3
je 0x496b8a
cmp esi, 0xffffffff
je 0x496b9b
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
test ebx, ebx
setne al
jmp 0x496aba
Function at 0x498064
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x44
push 0
mov ebx, 0x4d3008
push ebx
call fcn.004222d0
push 0x10
push 0
mov esi, 0x4d304c
push esi
call fcn.004222d0
add esp, 0x18
mov dword [0x4d3008], 0x44
xor eax, eax
inc eax
mov dword [0x4d3034], eax
push esi
push ebx
mov word [0x4d3038], ax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
pop ebx
test eax, eax
je 0x4980c9
push dword [0x4d304c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x4980cd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 3
pop esi
mov edx, dword [edi + 4]
mov dword [ebp + 8], edx
cmp dword [edi + 0x190], ebx
je 0x49817f
mov ebx, esi
cmp dword [0x4d1934], esi
jl 0x498176
mov eax, dword [0x4d1924]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x49816d
cmp dword [ecx + 4], edx
jne 0x49816d
mov dl, byte [ecx + 0x90]
cmp dl, 0xb
je 0x49816a
mov dh, byte [ecx + 0x93]
movzx eax, dh
cmp eax, dword [edi + 0x190]
je 0x49813a
cmp byte [edi + 0x198], 0
je 0x49816a
cmp dh, 0xff
je 0x49816a
cmp dl, 0xa
je 0x49816a
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4d1924]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x49816a
cmp byte [eax + 0x90], 0x1a
jne 0x49816a
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc ebx
cmp ebx, dword [0x4d1934]
jle 0x4980f8
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0x190], ebx
cmp dword [0x4d1934], esi
jl 0x498213
mov eax, dword [0x4d1924]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x498203
cmp dword [ecx + 4], edx
jne 0x498203
cmp byte [ecx + 0x90], 0xb
je 0x498203
movzx eax, byte [ecx + 0x93]
cmp eax, dword [edi + 0x190]
jne 0x498203
test byte [ecx + 0x92], 0x20
jne 0x498203
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4d1924]
push 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4d1924]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x498203
cmp byte [eax + 0x90], 0x1a
jne 0x498203
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [0x4d1934]
jle 0x49818b
push 0
push ebx
push 0x130c
push dword [edi + 0x188]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x498461
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
cmp word [eax], di
je 0x49857a
push edi
push edi
push 3
push edi
push edi
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4984b2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4984b9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4985a9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4984b2
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x49fc54
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4984b2
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
test eax, eax
jne 0x498557
mov eax, edi
cmp dword [ecx], edi
jne 0x498557
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [edx]
push 0x2000
push dword [ecx]
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x49857f
mov eax, edi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x498594
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push edi
mov dword [esi + 0x64], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x498ebb
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x4d18b0
push edi
call fcn.0041b021
mov ecx, dword [0x4d1910]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x498f10
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x498f72
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x498f8c
push dword [ebp + 0xc]
call fcn.0041adc4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x498f72
mov ecx, dword [0x4d1924]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x498f72
cmp cl, 0xf
je 0x498f72
cmp cl, 0x13
je 0x498f72
cmp cl, 0x10
je 0x498f72
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x498f72
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4d1924]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
push dword [ebp - 4]
mov eax, dword [eax + ecx*4]
push dword [ebp - 8]
push esi
mov eax, dword [eax]
push dword [eax + 0xc]
jmp 0x498f08
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x41814ae6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x40db6d2d
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x4010bd
cmp dword [esp + 0x34], 2
jne 0x4010b6
push 0x40
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0x44
push 0
push eax
call fcn.004021b0
add esp, 0xc
xor edi, edi
push dword [esi + 4]
call fcn.00404936
add esp, 4
test eax, eax
jle 0x4010b2
lea eax, [esp + 0x80]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x3c]
movaps xmmword [esp + 0x84], xmm0
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push dword [esi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi + 4]
inc edi
call fcn.00404936
add esp, 4
cmp edi, eax
jl 0x401074
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4164d0
push 0x67
push edi
call esi
push 0x64
push 0x416408
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 0x401240
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], 0x6d
mov dword [esp + 0x68], 0x416408
call esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4164d0
push 0x416408
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40119e
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0040126a
mov esp, ebp
pop ebp
ret 0x10
push 7
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x40121a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401209
lea eax, [esp + 0x18]
push eax
call edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x4011e0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.0040126a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401dc9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004019ed
push eax
push esi
push dword [ebp + 8]
call fcn.004019a2
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004019ed
push eax
push esi
push dword [ebp + 8]
call fcn.004019a2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004019dd
jmp 0x401eb7
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004019dd
mov eax, 0x8d5ca2bc
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x401e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004019ed
push eax
push esi
push dword [ebp + 8]
call fcn.004019a2
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004019ed
push eax
push esi
push dword [ebp + 8]
call fcn.004019a2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004019dd
jmp 0x401eb7
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004019dd
mov eax, 0x8d5ca2bc
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid