joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458668
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45867f
add esp, 0xfffffff0
call fcn.00403e64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004228cc
mov eax, dword [0x4db17c]
cmp word [eax + 2], 0
jne 0x4586a7
mov eax, dword [0x4db17c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459de8
mov eax, dword [0x4db278]
cmp word [eax + 2], 0
jne 0x4586c1
mov eax, dword [0x4db278]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459fe0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a1c4]
call fcn.00403b10
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a1c4]
call fcn.00403b10
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424de0]
call fcn.0042c9e4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458848
mov eax, dword [0x4db018]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cdb4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a580
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4db018]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f6c0
test eax, eax
je 0x4587b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ca8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f6e8
test eax, eax
je 0x4587ca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404be0
mov eax, dword [0x4dae70]
cmp byte [eax], 0
jne 0x4587fe
mov eax, ebx
call fcn.00458970
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045a75c
mov eax, ebx
call fcn.0045b120
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45883e
call fcn.00403ebc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458bf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dcbbc]
cmp dword [eax + 0x30], 0
je 0x458c9a
cmp dword [ebx + 0x94], 0
jne 0x458c94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458b80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458c94
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458c5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458c94
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c7b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458c69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4597fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459831
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a60
jmp 0x45983e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a938
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a979
mov eax, esi
call fcn.0044118c
test al, al
je 0x45a979
mov eax, dword [ebx + 0x84]
call fcn.00440e88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a979
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440e88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464710
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419754]
call fcn.00405548
xor eax, eax
push ebp
push 0x464854
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d5f3c], 0
jne 0x464763
mov ecx, dword [0x4dae8c]
mov dl, 1
mov eax, dword [0x4081dc]
call fcn.0040e8f8
call fcn.00404390
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403204
mov eax, ebx
call fcn.0040520c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x464864
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040521c
test eax, eax
jle 0x4647fb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4647f4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404bf8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404be0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040910c
test eax, eax
jne 0x4647f4
mov ebx, 0x15
jmp 0x464800
mov ebx, 0x10
jmp 0x464800
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d5f3c]
call fcn.00464668
mov eax, dword [ebp - 8]
call fcn.00464668
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040680c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46485b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404994
lea eax, [ebp - 0x10]
mov edx, dword [0x419754]
call fcn.00405618
ret
Function at 0x470634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x470663
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4706e2
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0046eef0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4706b0
mov cx, word [esp]
sub cx, si
jmp 0x4706b2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x470699
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4706d8
mov cx, word [esp]
sub cx, si
jmp 0x4706da
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4706c1
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47073f
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00470308
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x47072a
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x47073f
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47063e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x476c74
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4dcc64
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x476c96
shr eax, 1
xor eax, 0xedb88320
jmp 0x476c98
shr eax, 1
dec edx
jne 0x476c84
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x476c7d
mov byte [0x4dd064], 1
pop esi
pop ebx
ret

Function at 0x476cb4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4dd064], 0
jne 0x476ccb
call fcn.00476c74
mov eax, edi
dec eax
test eax, eax
jl 0x476cf4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dcc64]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x476cd5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x479754
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x479785
dec al
je 0x4797c1
dec al
je 0x479805
dec al
je 0x479870
jmp 0x4798fa
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4798fa
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x479795
jmp 0x4798fa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4798fa
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4797d1
jmp 0x4798fa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4798fa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x479833
xor ebp, ebp
jmp 0x479844
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x47984d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x479815
jmp 0x4798fa
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4798fa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4798c8
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00476cfc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x479884
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48813c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x488255
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], 0xbff00000
lea eax, [ebp - 0x1c]
mov edx, 0x10
call fcn.00407ba8
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, 0x488270
call fcn.00404c7c
mov eax, dword [ebp - 0x20]
call fcn.0047d668
push 0
push 0
push 0
push 0
push 0x488284
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x48823f
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00404e30
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x488239
mov dword [ebp - 8], 0x10
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4000000b
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x488233
cmp word [ebp - 0x1c], 0
je 0x488233
cmp word [ebp - 0x1a], 0
je 0x488233
cmp word [ebp - 0x16], 0
je 0x488233
lea eax, [ebp - 0x1c]
call fcn.0040b6e0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004864cc
call fcn.00402c18
sub eax, 4
sbb edx, 0
push edx
push eax
call fcn.0045b4d0
fstp qword [edi]
wait
mov byte [ebp - 1], 1
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48825c
lea eax, [ebp - 0x20]
call fcn.00404970
ret
Function at 0x488294
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x488487
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [0x4dd0f0]
call fcn.004049c4
cmp byte [0x4dd0e2], 0
jne 0x488313
lea eax, [ebp - 0x41c]
push eax
xor ecx, ecx
mov edx, 0x4884a0
mov eax, esi
call fcn.0048712c
push dword [ebp - 0x41c]
push 0x4884bc
push dword [ebx]
mov eax, ebx
mov edx, 3
call fcn.00404cf0
lea eax, [ebp - 0x420]
mov ecx, esi
mov edx, 0x4884c8
call fcn.00404c7c
mov eax, dword [ebp - 0x420]
call fcn.0047d668
push 0
push 0
mov eax, dword [0x4dab90]
push eax
xor eax, eax
mov al, byte [0x4dab8c]
push eax
push 0x4884dc
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x488461
xor eax, eax
push ebp
push 0x48845a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00404e30
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x14
mov edi, 0x13
lea eax, [ebp - 0x18]
call fcn.00404970
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4883c0
lea eax, [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00404b68
mov edx, dword [ebp - 0x18]
mov eax, 0x488518
call fcn.00404f74
dec eax
jne 0x4883dc
mov eax, ebx
mov edx, dword [ebp - 0x18]
call fcn.004049c4
jmp 0x488443
test esi, esi
je 0x488443
mov eax, ebx
call fcn.00404970
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push esi
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x418]
mov ecx, 0x400
call fcn.00404a60
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.00404e90
mov edx, dword [ebp - 0x424]
mov eax, ebx
call fcn.00404c38
cmp dword [ebp - 8], 0
jne 0x4883e7
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488461
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48848e
lea eax, [ebp - 0x428]
mov edx, 4
call fcn.00404994
lea eax, [ebp - 0x18]
call fcn.00404970
ret
Function at 0x488520
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e20
xor eax, eax
push ebp
push 0x48876f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [0x4dd0f0]
call fcn.004049c4
cmp byte [0x4dd0e2], 0
jne 0x4885ad
lea eax, [ebp - 0x424]
push eax
xor ecx, ecx
mov edx, 0x488788
mov eax, esi
call fcn.0048712c
push dword [ebp - 0x424]
push 0x4887a4
push dword [ebx]
mov eax, ebx
mov edx, 3
call fcn.00404cf0
lea eax, [ebp - 0x428]
mov ecx, esi
mov edx, 0x4887b0
call fcn.00404c7c
mov eax, dword [ebp - 0x428]
call fcn.0047d668
push 0
push 0
mov eax, dword [0x4dab90]
push eax
xor eax, eax
mov al, byte [0x4dab8c]
push eax
push 0x4887c4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48873c
xor eax, eax
push ebp
push 0x488735
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00404e30
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x14
mov edi, 0x3f
lea eax, [ebp - 0x20]
call fcn.00404970
lea eax, [ebp - 0x1c]
mov ecx, 0x488800
mov edx, dword [ebp - 4]
call fcn.00404c7c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x48866a
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x10]
call fcn.00404b68
mov edx, dword [ebp - 0x20]
mov eax, 0x48880c
call fcn.00404f74
dec eax
jne 0x488689
mov eax, ebx
mov edx, dword [ebp - 0x20]
call fcn.004049c4
jmp 0x48871e
test esi, esi
je 0x48871e
mov eax, ebx
call fcn.00404970
push 0x20000000
mov eax, dword [ebp - 0x1c]
call fcn.00404c30
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
call sub.wininet.dll_HttpAddRequestHeadersA
push 0
push 0
push 0
push 0
push esi
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x488718
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push esi
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
lea edx, [ebp - 0x420]
mov ecx, 0x400
call fcn.00404a60
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00404e90
mov edx, dword [ebp - 0x42c]
mov eax, ebx
call fcn.00404c38
cmp dword [ebp - 0xc], 0
jne 0x4886c2
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48873c
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488776
lea eax, [ebp - 0x430]
mov edx, 4
call fcn.00404994
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404994
lea eax, [ebp - 4]
call fcn.00404970
ret
Function at 0x4ce4e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ce564
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 4]
push eax
call sub.ole32.dll_CoTaskMemFree
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404be0
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.004ce46c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce56b
lea eax, [ebp - 0x110]
call fcn.00404970
ret

Function at 0x4ce6a0
Capabilities:
Log keystrokes via polling

Disassembly:
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
test byte [esp + 0x10], 0x80
setne al
add esp, 0x100
ret

Function at 0x4ce6bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ce715
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
mov eax, esi
call fcn.00404e30
push eax
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402b54
mov eax, dword [ebp - 4]
call fcn.00404e30
push eax
push 0x4ce724
push ebx
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce71c
lea eax, [ebp - 4]
call fcn.00404970
ret
Function at 0x405e52
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x408148
call fcn.0040603c
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x405e8f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405e8f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x405ea7
cmp eax, 0x20b
je 0x405e94
mov dword [ebp - 0x1c], ebx
jmp 0x405ebb
cmp dword [ecx + 0x84], 0xe
jbe 0x405e8f
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x405eb5
cmp dword [ecx + 0x74], 0xe
jbe 0x405e8f
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x706ae4], 0xffffffff
or dword [0x706ae8], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x706ae0]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x706adc]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x706aec], eax
call fcn.00406036
cmp dword [0x430ad0], ebx
jne 0x405f16
push fcn.00406036
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00406024
push 0x407140
push 0x40713c
call sub.msvcrt.dll__initterm
mov eax, dword [0x706ad8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x706ad4]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x407138
push 0x407134
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x405fac
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x405f80
cmp al, 0x22
jne 0x405f72
cmp byte [esi], 0x22
jne 0x405f89
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x405f93
cmp al, 0x20
jbe 0x405f85
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x405fb7
movzx eax, word [ebp - 0x48]
jmp 0x405fba
cmp byte [esi], 0x20
jbe 0x405f89
inc esi
mov dword [ebp - 0x34], esi
jmp 0x405fac
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x405fd7
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x40600c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00406075
ret