joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42eb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CTime::CTime
lea ecx, [esp + 0x38]
push 0x43ff6c
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
push 0x43e0f8
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea ecx, [esp + 0x24]
push 0x43ff68
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CTime::Format
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push 0x43ff64
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea ecx, [esp + 0x10]
push str._H:_M:_S
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CTime::Format
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._s___s__s__s__s_GMT
push ecx
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push str.If_Modified_Since:__s
push eax
mov byte [esp + 0x3c], 0xa
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push 0x20000000
push ecx
mov ecx, dword [esi + 0x80]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
pop esi
jne 0x420443
push eax
push eax
call sub.MFC42.DLL_AfxThrowInternetException
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x420960
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xb8]
push eax
push ecx
mov ecx, esi
call fcn.00420e90
mov ecx, esi
call fcn.0041f7b0
test eax, eax
jne 0x420996
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 8
ret
mov ebp, dword [sym.imp.WININET.dll_InternetReadFileExA]
lea ebx, [esi + 0x88]
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0xc8]
mov dword [ebx], 0x28
mov dword [esi + 0x9c], edx
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x60]
push esi
push 1
push ebx
push edx
mov dword [esi + 0xa0], ecx
call ebp
test eax, eax
jne 0x420a29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4209f5
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
lea eax, [esp + 0x14]
push 1
push eax
mov ecx, esi
call fcn.00421830
test eax, eax
jne 0x420a76
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x118]
cmp ecx, eax
jne 0x420a83
mov eax, dword [esi + 0x114]
test eax, eax
je 0x420a34
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
jmp 0x420a34
mov ecx, esi
call fcn.00421890
test eax, eax
jne 0x420a76
mov edi, dword [esi + 0xa0]
test edi, edi
je 0x420a9c
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xc4]
sub edx, edi
add eax, edi
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x9c]
push edi
push edx
mov ecx, esi
mov dword [esi + 0xc4], eax
call fcn.0041fa00
test eax, eax
je 0x420ad3
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x18]
jmp 0x4209c6
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret
push 0x440080
mov ecx, esi
call fcn.0040b830
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 8
ret
mov ecx, esi
call fcn.0041fad0
test eax, eax
je 0x420ad3
mov eax, dword [esi + 0xc8]
cmp eax, 0xffffffff
je 0x420abe
cmp eax, dword [esi + 0xc4]
je 0x420abe
push 3
jmp 0x420ad5
push 0
push 2
mov ecx, esi
call fcn.00420130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 4
push 3
mov ecx, esi
call fcn.00420130
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x421320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42ec38
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4213b4
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4213b4
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi]
mov eax, dword [ebx]
push edx
push eax
lea ecx, [esp + 0x24]
push str._s:__s__r_n
push ecx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x1c]
lea ecx, [edi + 0x30]
push edx
call fcn.0041dee0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8

Function at 0x4215a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4215b2
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
mov ecx, dword [esi + 0x14]
push ecx
call edi
lea edx, [esp + 8]
mov dword [esp + 8], 0
push edx
push 0
push esi
push 0x421420
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
jg 0x4215f0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
test ecx, ecx
je 0x421603
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x10]
push ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
mov ebx, eax
push ecx
call edi
xor eax, eax
test ebx, ebx
pop ebx
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x421630
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x421678
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x421663
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
pop esi
ret
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret
Function at 0x423b04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
jle 0x423b29
mov cl, byte [eax + esi - 2]
lea edx, [eax + esi]
add cl, byte [edx - 1]
jmp 0x423b31
jne 0x423b2f
mov cl, byte [esi]
jmp 0x423b31
xor cl, cl
xor cl, al
xor ebx, ebx
movzx esi, cl
mov al, byte [esi + edi + 0x9c]
movzx eax, al
test eax, eax
mov dword [ebp - 8], eax
jle 0x423b77
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x28]
push dword [ebp + 8]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + esi]
mov byte [ebp - 1], al
movzx eax, al
mov eax, dword [ecx + eax*4]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x423b81
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x423b49
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4
movzx eax, byte [ebp - 1]
jmp 0x423b7a

Function at 0x424454
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + ecx + 7]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], eax
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [ebp + 0xc]
mov byte [esi], al
mov eax, dword [edi]
inc esi
mov ebx, dword [eax - 8]
movzx eax, bx
mov word [esi], bx
push eax
push dword [edi]
inc esi
inc esi
mov dword [ebp + 0x10], eax
push esi
call sub.MSVCRT.dll_memcpy
xor edi, edi
add esp, 0xc
xor bl, bh
xor eax, eax
cmp dword [ebp + 0x10], edi
jbe 0x4244b5
mov cl, byte [eax + esi]
not cl
xor cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x4244a5
add esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x18]
mov dword [esi], ebx
add esi, 4
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [ebp + 0xc], 7
je 0x4244d9
cmp byte [ebp + 0xc], 6
jne 0x4244f0
mov al, bl
xor al, bh
cmp ebx, edi
jbe 0x4244f0
mov cl, byte [edi + esi]
not cl
xor cl, al
mov byte [edi + esi], cl
inc edi
cmp edi, ebx
jb 0x4244e1
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x544ae10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3737000]
push edi
or ebp, 0xffffffff
jmp 0x544ae32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x544ae39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x544ae28
mov eax, 1
add ebx, ebx
jne 0x544ae4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x544ae5c
jne 0x544ae7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x544ae7b
dec eax
add ebx, ebx
jne 0x544ae68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x544ae40
add ebx, ebx
jne 0x544ae77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x544aecd
xor ecx, ecx
sub eax, 3
jb 0x544ae93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x544af02
sar eax, 1
mov ebp, eax
jmp 0x544ae9e
add ebx, ebx
jne 0x544ae9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x544ae6c
inc ecx
add ebx, ebx
jne 0x544aeac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x544ae6c
add ebx, ebx
jne 0x544aeb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x544aeae
jne 0x544aeca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x544aeae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x544aeec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x544aede
jmp 0x544ae2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x544aeec
add edi, ecx
jmp 0x544ae2e
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x544af0a
cmp byte [edi], 0x13
jne 0x544af0a
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 0x544af0f
lea edi, [esi + 0x5047000]
mov eax, dword [edi]
or eax, eax
je 0x544af87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x50511ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5051270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x544af3c
mov ecx, edi
jns 0x544af6b
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 + 0x5051278]
or eax, eax
je 0x544af81
mov dword [ebx], eax
add ebx, 4
jmp 0x544af59
call dword [esi + 0x5051274]
mov ebp, dword [esi + 0x505127c]
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 0x544afbb
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x408150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
or dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
dec ebp
adc byte [ebx - 0x75], dl
pop ebp
or byte [edi - 0x75], dl
jge 0x408179
test eax, eax
ja 0x408172
jb 0x408157
cmp eax, 0x4773cfb
fldcw word [edx - 0x3f7ad38b]
sub al, 0x85
sar byte [edi + 0x34], 0x7c
cli
test eax, eax
jg 0x4081a8
jl 0x408170
cmp esp, 0x7fffffff
mov bl, 0x2a
or dword [edx + 0x7f257cff], 8
cmp ebx, 0x3600b700
jb 0x4081a8
invalid
and eax, 0xfb81087f
add byte [edi + 0x1b723600], dh
test ecx, ecx
jne 0x4081ac
mov eax, dword [ebp + 0x1c]
mov edi, dword [ecx + 0x52579127]
push ecx
push ebx
call 0xfd40812c
add esp, 0x14
pop edi
xor esp, eax
das
adc al, 0xc9
lodsb al, byte [esi]
or ecx, dword [ebx + 0x1c7142e]
add dl, al
add byte [eax], al
sub byte [ebx], ah
test eax, eax
jg 0x40816f
mov ebp, dword [esi]
adc al, 0xc7
add dword [eax], eax
ret 0
jl 0x4081c1
test ebx, ebx
jae 0x4081c8
mov ecx, 0xdaf6
jmp 0x408182
or cl, 0x8b
push ebp
adc al, 0x85
leave
mov dword [edx], ecx
je 0x4081da
neg ebx
adc eax, 0
mul dword [esi + edx*2]
push esi
mov byte [eax], 0x6a
or dl, byte [eax + 0x53]
call 0xdb7090
mov edi, ebx
enter 0xffffffffffff8aac, 0xffffffffffffffc1
cmpsd dword [esi], dword es:[edi]
or dh, dh
ljmp 0x30c3

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

Disassembly:
inc ebx
rcl dword [edi - 0x6f38fe73], cl
nop

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

Disassembly:
aam 0x31
out 0x2b, eax
loope 0x40a364
je 0x40a364
push edi
jns 0x40a2b6
add dword [0xa88bdd56], eax
mov esi, 0x448963aa
and al, 0x24

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

Disassembly:
add byte [eax], al
add byte [eax + 0x31], ah
shl byte [ebx + ecx*4 + 0x52], cl
xor byte [ebx - 0x1a76f3ae], cl
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
xor edi, edi
movzx ecx, word [edx + 0x26]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40a5f4
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x40a5eb
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x40a659
add eax, edx
push eax
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
je 0x40a658
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x40a624
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x40a618
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40a5e2
Function at 0x473468
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, ebx
mov edx, 2
call fcn.00404cd0
push 0
mov eax, ebx
call fcn.00404b9c
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x4734b4
je 0x4734bd
dec eax
je 0x4734d2
jmp 0x4734cb
mov eax, ebx
call fcn.00404684
jmp 0x4734d2
mov eax, ebx
mov edx, 1
call fcn.00404cd0
jmp 0x4734d2
mov eax, ebx
call fcn.00404684
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x50b580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x50b59a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b5a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b590
mov eax, 1
add ebx, ebx
jne 0x50b5b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b5a8
jne 0x50b5c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5a8
xor ecx, ecx
sub eax, 3
jb 0x50b5d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b64a
mov ebp, eax
add ebx, ebx
jne 0x50b5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b614
inc ecx
add ebx, ebx
jne 0x50b600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b5f5
jne 0x50b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b625
jmp 0x50b596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b634
add edi, ecx
jmp 0x50b596
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50b652
cmp byte [edi], 6
jne 0x50b652
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 0x50b657
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b6c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b684
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdb2c]
or eax, eax
je 0x50b6c0
mov dword [ebx], eax
add ebx, 4
jmp 0x50b6a1
call dword [esi + 0xdb28]
mov ebp, dword [esi + 0xdb30]
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 0x50b6fa
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x41b6e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x486fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047b496
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b762
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00478cba
mov eax, dword [eax]
push 0x4ed210
push eax
call fcn.0046b104
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047b721
test bl, bl
je 0x41b762
push 0x4ed210
lea ecx, [esp + 0xc]
call fcn.0047bab1
push 0x4f0da0
lea ecx, [esp + 0xc]
call fcn.0047bab1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b79e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047b721
jmp 0x41b869
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41b822
lea edx, [esp + 0x7c]
push 0x4f0d9c
push edx
call fcn.0046b104
add esp, 8
test eax, eax
je 0x41b822
lea eax, [esp + 0x7c]
push 0x4f0d98
push eax
call fcn.0046b104
add esp, 8
test eax, eax
je 0x41b822
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b7b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047b721
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41c060
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41c0c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41c0d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48702b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f7968]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41c208
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41c136
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047b721
xor eax, eax
jmp 0x41c27f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047b85e
push esi
lea ecx, [esp + 0xc]
call fcn.0047baed
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4f0dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41c25d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041c060
test eax, eax
jne 0x41c25d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0041c060
test eax, eax
jne 0x41c25d
lea eax, [esp + 0x14]
push 0x4f0db4
push eax
call fcn.0046c210
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c23c
lea ecx, [esp + 0x14]
push 0x4f0db0
push ecx
call fcn.0046c190
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c23c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41c23f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047b80e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41c14e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047b721
xor eax, eax
jmp 0x41c27f
mov byte [esi], 0
push 0x4f0dac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047b721
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4