joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b3c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b150

Function at 0x45b880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b3d0

Function at 0x411050
Capabilities:
Query environment variable

Disassembly:
jmp 0x415e05
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
jne 0x415e1a
xor eax, eax
pop esi
ret
cmp word [esi], cx
je 0x415e2f
add eax, 2
cmp word [eax], cx
jne 0x415e1f
add eax, 2
cmp word [eax], cx
jne 0x415e1f
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call fcn.004110b9
mov edi, eax
pop ecx
test edi, edi
jne 0x415e50
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
push ebx
push esi
push edi
call fcn.004114bf
add esp, 0xc
jmp 0x415e43

Function at 0x4110c3
Capabilities:
Terminate process

Disassembly:
jmp 0x412556
jmp fcn.0041462d
cmp ecx, dword [section..data]
jne 0x412560
repz ret
jmp 0x4112cb

Function at 0x411258
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
jmp 0x412a51
push 0x14
push 0x42d6e0
call fcn.0041163b
xor esi, esi
cmp dword [0x431734], esi
jne 0x4128b9
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4128cc
mov dword [ebp - 0x1c], esi
jmp 0x412902
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4128c7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4128c7
cmp dword [eax + 0x400074], 0xe
jbe 0x4128c7
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.004110b4
test eax, eax
jne 0x412913
push 0x1c
call fcn.0041280d
pop ecx
call fcn.004114c4
test eax, eax
jne 0x412924
push 0x10
call fcn.0041280d
pop ecx
call fcn.0041162c
mov dword [ebp - 4], esi
call fcn.004115dc
test eax, eax
jns 0x41293d
push 0x1b
call fcn.00411749
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x431724], eax
call fcn.00411050
mov dword [0x42f1ec], eax
call fcn.004115a5
test eax, eax
jns 0x412963
push 8
call fcn.00411749
pop ecx
call fcn.00411609
test eax, eax
jns 0x412974
push 9
call fcn.00411749
pop ecx
push 1
call fcn.0041183e
pop ecx
cmp eax, esi
je 0x412987
push eax
call fcn.00411749
pop ecx
mov eax, dword [0x42f5fc]
mov dword [0x42f600], eax
push eax
push dword [0x42f5f0]
push dword [0x42f5e8]
call fcn.0041108c
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x4129b4
push eax
call fcn.0041184d
call fcn.004111fe
jmp 0x4129e9
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004115a0
ret
call fcn.004111d6
jmp 0x412898

Function at 0x4116ae
Capabilities:
Terminate process

Disassembly:
jmp 0x413fde
mov edi, edi
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00411771
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x513060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a712b
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.0059b7c8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5130e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005995bc
mov eax, dword [eax]
push 0xa39d70
push eax
call fcn.00587e04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0059ba53
test bl, bl
je 0x5130e2
push 0xa39d70
lea ecx, [esp + 0xc]
call fcn.0059bde3
push 0xa39d7c
lea ecx, [esp + 0xc]
call fcn.0059bde3
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 0x51311e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0059ba53
jmp 0x5131e9
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 0x5131a2
lea edx, [esp + 0x7c]
push 0xa39d78
push edx
call fcn.00587e04
add esp, 8
test eax, eax
je 0x5131a2
lea eax, [esp + 0x7c]
push 0xa39d74
push eax
call fcn.00587e04
add esp, 8
test eax, eax
je 0x5131a2
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 0x513132
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.0059ba53
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 0x5139e0
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 0x513a42
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 0x513a50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a71ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa4ee68]
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 0x513b88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x513ab6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0059ba53
xor eax, eax
jmp 0x513bff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0059bb90
push esi
lea ecx, [esp + 0xc]
call fcn.0059be1f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x513bdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.005139e0
test eax, eax
jne 0x513bdd
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 closesocket
mov ecx, edi
call fcn.005139e0
test eax, eax
jne 0x513bdd
lea eax, [esp + 0x14]
push 0xa39d8c
push eax
call fcn.00588f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x513bbc
lea ecx, [esp + 0x14]
push 0xa39d88
push ecx
call fcn.00588ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x513bbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x513bbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0059bb40
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x513ace
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0059ba53
xor eax, eax
jmp 0x513bff
mov byte [esi], 0
push 0xa39d84
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.0059ba53
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

Function at 0x519f36
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x519f5e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x522dd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x522e3e
cmp si, 0x69
ja 0x522e3e
add esi, 0xffd0
cmp si, 0x11
je 0x522e0e
push 0x11
call edi
test ax, ax
jge 0x522e0e
or esi, 0x2000
cmp si, 0x10
je 0x522e23
push 0x10
call edi
test ax, ax
jge 0x522e23
or esi, 0x4000
cmp si, 0x12
je 0x522e38
push 0x12
call edi
test ax, ax
jge 0x522e38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x522e4b
mov esi, 0xbd
jmp 0x522dff
cmp si, 0x6e
jne 0x522e58
mov esi, 0xbe
jmp 0x522dff
cmp si, 0x6f
jne 0x522df9
mov esi, 0xbf
jmp 0x522dff

Function at 0x524660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa5fbb8]
xor edx, edx
cmp eax, edx
jne 0x524686
xor eax, eax
mov byte [eax + 0xa5fab8], al
inc eax
cmp eax, 0x100
jl 0x52466e
mov dword [0xa5fbb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa5fab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x524717
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5246ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5246b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x524790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5247e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5247ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x536e00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a90f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00531640
test eax, eax
je 0x536f08
lea ecx, [esp + 0xc]
call fcn.0050f1d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00531640
mov ecx, eax
call fcn.0052ed50
test eax, eax
je 0x536eef
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x536eef
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x536eef
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0050f3d0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x536ed1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x536eef
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0xa60010]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0xa17650
call fcn.0050f3d0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x536f60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00531640
test eax, eax
je 0x53704f
mov ecx, edi
call fcn.00531640
mov ecx, eax
call fcn.0052ec00
test eax, eax
jne 0x53704f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53704f
mov eax, dword [0xa60010]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x536fc2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00531640
mov ecx, eax
call fcn.0052ee30
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x53704f
cmp ebx, eax
jne 0x53704f
cmp dword [esp + 0x10], eax
jne 0x537035
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x539cd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a9388
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x539d09
inc eax
mov dword [esi + 0x10], eax
jmp 0x539e1c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x539d1d
mov eax, 0xffffffc7
jmp 0x539e1e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x539d2e
cmp dword [esi + 8], eax
jne 0x539d1d
cmp dword [esi + 8], eax
jne 0x539d47
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x539d47
mov eax, 0xffffffc7
jmp 0x539e1e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x539d5b
push eax
mov ecx, ebx
call fcn.00539500
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0050f1d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x539d8c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0050f1f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00538c70
test eax, eax
mov dword [esp + 0x38], eax
je 0x539dbf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xa17680
call fcn.0050f3d0
mov eax, dword [esp + 0x38]
jmp 0x539e1e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00539b30
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x539e03
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00539b50
mov esi, eax
test esi, esi
jne 0x539e33
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00539b30
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x539dd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xa17680
call fcn.0050f3d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xa17680
call fcn.0050f3d0
mov eax, esi
jmp 0x539e1e

Function at 0x53e800
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x53e860
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x53e860
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x53e860
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x53e860
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x53e8a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x54d300
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x54d333
push esi
call fcn.0055b6c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x54d32c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x54d3b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x54d3a2
mov eax, dword [esi + 8]
test eax, eax
je 0x54d357
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x54d39e
cmp eax, 2
je 0x54d3a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54d34a
cmp eax, 3
je 0x54d37d
cmp eax, 1
jne 0x54d34a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x54d34a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x54d34a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0054d3e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x54d3c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0054d3e0
add esp, 4
pop esi
ret

Function at 0x54dc60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x54dc81
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x54dc81
mov eax, dword [eax + 0x44]
test eax, eax
je 0x54dc81
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x568770
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x5aa0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.00569180
mov eax, dword [esp + 0x24]
push 0xa69184
push eax
xor edi, edi
xor ebx, ebx
call fcn.00587e04
add esp, 8
test eax, eax
je 0x5687bd
mov ebx, dword [esp + 0x24]
mov edi, 3
push 0
push 0
push ebx
push edi
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi], eax
je 0x568807
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [esp + 0xc]
push 4
push ecx
push 2
push eax
mov dword [esp + 0x1c], 0x15f90
call edi
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 5
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push 4
push ecx
push 6
push edx
call edi
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059ba53
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x568d20
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push 0x13
call fcn.00568f40
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.00568fd0
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.00568e90
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.00568e90
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.00568e90
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0x1d
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x568dfd
push eax
call fcn.0059b794
mov edx, dword [esi + 8]
add esp, 4
lea ecx, [ebp - 0x14]
mov ebx, eax
push 0
push ecx
push ebx
push 0x1d
push edx
call edi
push str.gzip
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x568ddb
mov dword [esi + 0x24], 1
jmp 0x568df2
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x568df2
mov dword [esi + 0x24], 2
push ebx
call fcn.0059b7bd
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0xa69184
call fcn.0059bb90
mov dword [ebp - 0x18], ebx
mov edx, dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 1
jb 0x568e74
push eax
call fcn.0059b794
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
call edi
cmp dword [ebp - 0x18], 1
jbe 0x568e58
push 0xa43908
lea ecx, [esi + 0x1c]
call fcn.0059bde3
push ebx
lea ecx, [esi + 0x1c]
call fcn.0059bde3
push ebx
call fcn.0059b7bd
add esp, 4
xor ebx, ebx
jmp 0x568e0d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56ab40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x56ab4b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x56ac4e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xa1b048]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa1b048]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa1b048]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa1b048]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa1b048]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xa1b048]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xa1b048]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xa1b048]
xor eax, edx
inc ecx
dec edi
jne 0x56ab66
pop edi
test esi, esi
je 0x56ac70
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xa1b048]
xor eax, edx
inc ecx
dec esi
jne 0x56ac52
pop esi
pop ebx
not eax
ret