joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4341c6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0x1f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
mov ebx, dword [eax + 0x128]
mov dword [ebp - 4], eax
jne 0x434314
push esi
push edi
lea edi, [ebx + 0x1cb0]
lea esi, [ebx + 0x1eb0]
mov dword [esi], edi
cmp edi, esi
jae 0x4341fc
mov byte [edi], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x434207
mov byte [eax], 0xfa
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x434212
mov byte [eax], 0x1f
inc dword [esi]
movzx eax, word [ebx + 0x1ca8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [ebp + 0xc], eax
movzx eax, word [ebx + 0x1caa]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
mov eax, dword [esi]
cmp eax, esi
jae 0x434244
mov dl, byte [ebp + 0xc]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x434251
mov dl, byte [ebp + 0xd]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x43425b
mov byte [eax], cl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x434265
mov byte [eax], ch
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x434270
mov byte [eax], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x43427b
mov byte [eax], pe_nt_image_headers32
inc dword [esi]
mov ecx, dword [esi]
lea eax, [ebx + 0x1eb4]
mov dword [eax], ecx
mov eax, ecx
sub eax, edi
dec eax
dec eax
push eax
push 0x3e
push dword [ebp - 4]
lea eax, [ebx + 0x1cb2]
mov dword [esi], edi
call fcn.0043394b
mov esi, dword [sym.imp.WS2_32.dll_send]
add esp, 0xc
push 0
push 3
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x154]
call esi
test eax, eax
jge 0x4342d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 4]
call fcn.00425257
add esp, 0xc
lea eax, [ebx + 0x1cb3]
push 4
push eax
call fcn.004340af
pop ecx
pop ecx
push 0
push 2
add ebx, 0x1cb7
push ebx
mov eax, edi
push dword [eax + 0x154]
call esi
pop edi
pop esi
test eax, eax
jge 0x434314
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 4]
call fcn.00425257
add esp, 0xc
pop ebx
leave
ret
Function at 0x434be0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x158]
push ebx
push edi
mov edi, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x1c], eax
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x434c34
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push dword [ebp - 0x1c]
push esi
call fcn.004275ae
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x434c56
push str.Error_accept__ing_server_connect
push edi
call fcn.00425257
pop ecx
pop ecx
push 0x1e
pop eax
jmp 0x434cac
push str.Connection_accepted_from_server_n
push edi
call fcn.004251ed
push 1
push ebx
mov dword [esi + 0x158], ebx
call fcn.0044196f
xor ecx, ecx
inc ecx
mov dword [esi + 0x168], ecx
mov eax, dword [edi + 0x1b0]
add esp, 0x10
test eax, eax
je 0x434caa
push ecx
push ebx
push dword [edi + 0x1b4]
call eax
add esp, 0xc
test eax, eax
je 0x434caa
push ebx
push esi
call fcn.004275ae
or dword [esi + 0x158], 0xffffffff
pop ecx
pop ecx
push 0x2a
jmp 0x434c53
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004463b6
leave
ret
Function at 0x437ba1
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [esp + 0xc]
push edi
push 0x64
cdq
pop edi
idiv edi
mov ecx, dword [ebx]
xor esi, esi
cmp eax, 2
je 0x437bcb
push str.Couldnt_set_desired_mode
push ecx
call fcn.00425257
pop ecx
pop ecx
push 0x11
pop eax
jmp 0x437c23
cmp dword [esp + 0x10], 0xc8
je 0x437be7
push dword [esp + 0x10]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.004251ed
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, 0x13
jne 0x437bf9
push ebx
call fcn.00437b3d
pop ecx
jmp 0x437c1f
cmp eax, 0x14
jne 0x437c05
call fcn.004354cd
jmp 0x437c1f
cmp eax, 0x15
jne 0x437c13
mov eax, ebx
call fcn.00437b89
jmp 0x437c1f
cmp eax, 0x16
jne 0x437c21
mov eax, ebx
call fcn.00437b95
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x43c092
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0xc]
call fcn.0043c087
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004572ea
add esp, 0x10
ret

Function at 0x43db5b
Capabilities:
Parse pe header

Disassembly:
movsx eax, byte [esp + 4]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43db68
jmp dword [eax*4 + 0x43dbc3]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, byte [esp + 4]
ret

Function at 0x441991
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1ec]
test esi, esi
jne 0x4419aa
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.00424e94
push edx
push eax
call fcn.00424eaa
add edi, 0x1e0
add esp, 0x10
sub esi, eax
cmp dword [edi], 0
je 0x4419f1
push dword [ebx + 0x148]
push dword [ebx + 0x144]
call fcn.00424e94
push edx
push eax
call fcn.00424eaa
mov edi, dword [edi]
sub edi, eax
add esp, 0x10
cmp esi, edi
jl 0x4419f1
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x443812
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 8
pop ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push 0xf0000000
push 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
push edi
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x443863
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004463b6
leave
ret
push esi
push 0x14
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004463d0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
lea esi, [ebp - 0xc]
call fcn.004437a1
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 2
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4438b9
xor esi, esi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
jmp 0x443855
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0044b130
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push edi
push edi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor esi, esi
inc esi
jmp 0x4438aa

Function at 0x4439dd
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.004480c0
mov esi, eax
lea eax, [esi + esi]
push eax
mov dword [ebp - 0xc], eax
call dword [0x48a9dc]
mov ebx, eax
xor edi, edi
pop ecx
pop ecx
cmp ebx, edi
jne 0x443a0f
push 0x1b
pop eax
jmp 0x443aa0
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00443177
add esp, 8
push 0xf0000000
push 1
push edi
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x443a88
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x443a7e
push edi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push edi
lea eax, [ebp - 0x10]
push eax
push esi
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 5
push edi
add esi, 0x10
push esi
call fcn.004463d0
push ebx
call dword [0x48a9e0]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443cef
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x443d1f
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret

Function at 0x445040
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi]
cmp dword [eax + 4], 2
push edi
jne 0x445065
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x445054
xor eax, eax
pop edi
ret
push dword [eax + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call ecx
jmp 0x445098
cmp dword [esi + 8], 0
jne 0x445086
push 0x47876c
push dword [eax + 8]
call fcn.00449c64
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x445086
or eax, 0xffffffff
pop edi
ret
push dword [esi + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00449a40
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4450b8
mov eax, dword [esi + 8]
test eax, eax
je 0x4450b2
push eax
call fcn.00449724
and dword [esi + 8], edi
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
ret
Function at 0x445b1a
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x48a9dc]
mov edi, eax
pop ecx
test edi, edi
je 0x445bf8
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x445b7c
push eax
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
push ebx
call dword [esi + 8]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esi + 0x14]
add esp, 0x18
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
and dword [ebp - 4], 0
pop ecx
pop ecx
test ebx, ebx
jbe 0x445bcb
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov al, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
inc ebx
mov dword [ebp + 0xc], ebx
call dword [esi + 4]
add esp, 0x18
dec dword [ebp - 8]
jne 0x445b96
pop ebx
jmp 0x445bee
push 1
push 0x47892f
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x478930
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x10]
jb 0x445bce
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4463b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48a9f8]
jne 0x4463c0
repz ret
jmp fcn.0044de69
Function at 0x44b6b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]

Function at 0x44b6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
or byte [ecx + 0x4d8bec45], cl
in al, dx

Function at 0x44b6ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or byte [ecx + 0x4d8bec45], cl
in al, dx
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], edx
Function at 0x44dd13
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44dd44
call fcn.0044ab63
mov dword [eax], esi
call fcn.0044ab50
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00448d52
add esp, 0x14
push 0x16
pop eax
jmp 0x44dd99
test dword [ebp + 0xc], 0xfffffff9
jne 0x44dd20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44dd71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044ab76
pop ecx
call fcn.0044ab50
mov eax, dword [eax]
jmp 0x44dd99
test al, 0x10
jne 0x44dd97
test al, 1
je 0x44dd97
test byte [ebp + 0xc], 2
je 0x44dd97
call fcn.0044ab63
mov dword [eax], 5
call fcn.0044ab50
mov dword [eax], 0xd
jmp 0x44dd68
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46203d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044ffb3
and dword [ebp - 4], 0
cmp dword [0x48d1e8], 0
mov ebx, eax
jne 0x4620ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46219f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46219f
push eax
call fcn.0044ff41
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48d1e8], eax
call esi
push eax
call fcn.0044ff41
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48d1ec], eax
call esi
push eax
call fcn.0044ff41
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48d1f0], eax
call esi
push eax
call fcn.0044ff41
pop ecx
mov dword [0x48d1f8], eax
test eax, eax
je 0x4620ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044ff41
pop ecx
mov dword [0x48d1f4], eax
mov eax, dword [0x48d1f4]
cmp eax, ebx
je 0x462146
cmp dword [0x48d1f8], ebx
je 0x462146
push eax
call fcn.0044ffbf
push dword [0x48d1f8]
mov esi, eax
call fcn.0044ffbf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x462146
test edi, edi
je 0x462146
call esi
test eax, eax
je 0x46213d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46213d
test byte [ebp - 0xc], 1
jne 0x462146
or dword [ebp + 0x10], 0x200000
jmp 0x46217f
mov eax, dword [0x48d1ec]
cmp eax, ebx
je 0x46217f
push eax
call fcn.0044ffbf
pop ecx
test eax, eax
je 0x46217f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46217f
mov eax, dword [0x48d1f0]
cmp eax, ebx
je 0x46217f
push eax
call fcn.0044ffbf
pop ecx
test eax, eax
je 0x46217f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48d1e8]
call fcn.0044ffbf
pop ecx
test eax, eax
je 0x46219f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4621a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5851a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.ABC1
lea edi, [esi - 0x10b000]
push edi
or ebp, 0xffffffff
jmp 0x5851c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5851c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5851b8
mov eax, 1
add ebx, ebx
jne 0x5851db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5851ec
jne 0x58520b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58520b
dec eax
add ebx, ebx
jne 0x5851f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5851d0
add ebx, ebx
jne 0x585207
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58525d
xor ecx, ecx
sub eax, 3
jb 0x585223
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x585292
sar eax, 1
mov ebp, eax
jmp 0x58522e
add ebx, ebx
jne 0x58522e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5851fc
inc ecx
add ebx, ebx
jne 0x58523c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5851fc
add ebx, ebx
jne 0x585249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58523e
jne 0x58525a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58523e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58527c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58526e
jmp 0x5851be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58527c
add edi, ecx
jmp 0x5851be
pop esi
mov edi, esi
mov ecx, 0x9a29
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58529a
cmp byte [edi], 0x15
jne 0x58529a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x58529f
lea edi, [esi + 0x17b000]
mov eax, dword [edi]
or eax, eax
je 0x58530e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1854d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x185550]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5852cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x185554]
or eax, eax
je 0x585308
mov dword [ebx], eax
add ebx, 4
jmp 0x5852e9
call dword [esi + 0x185564]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x58533f
cmp al, 0xef
ja 0x585332
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x585314
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x585321
mov ebp, dword [esi + 0x185558]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x585373
sub esp, 0xffffff80
jmp 0x4c89fe
Function at 0x415ac0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x415ae2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415ae9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415ad8
mov eax, 1
add ebx, ebx
jne 0x415afb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415af0
jne 0x415b0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415af0
xor ecx, ecx
sub eax, 3
jb 0x415b20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415b92
mov ebp, eax
add ebx, ebx
jne 0x415b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415b5c
inc ecx
add ebx, ebx
jne 0x415b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415b3d
jne 0x415b59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415b3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415b7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415b6d
jmp 0x415ade
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415b7c
add edi, ecx
jmp 0x415ade
pop esi
mov edi, esi
mov ecx, 0x426
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415b9a
cmp byte [edi], 1
jne 0x415b9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x415b9f
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415c17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1618c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1626c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415bcc
mov ecx, edi
jns 0x415bfb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16274]
or eax, eax
je 0x415c11
mov dword [ebx], eax
add ebx, 4
jmp 0x415be9
call dword [esi + 0x16270]
mov ebp, dword [esi + 0x16278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x415c4b
sub esp, 0xffffff80
jmp 0x40b406

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x37ea10be
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xf816fac
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx