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

Disassembly:
push 0xffffffffffffffff
push 0x66ee78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005afde0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.005afe50
push 0
mov ecx, esi
call fcn.005b0290
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x5b0448
lea ecx, [esp + 0xc]
call fcn.005b0190
cmp eax, 1
jae 0x5b0397
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005afe00
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x5b03e4
push 0
lea ecx, [esp + 0x10]
call fcn.005b0210
push eax
push edi
mov ecx, 0xcb95a4
call fcn.005afa10
test eax, eax
jne 0x5b03ec
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005afe00
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.005afe50
push edi
mov ecx, 0xcb95a4
call fcn.005af970
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.005b0200
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x5b0448
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x5b0448
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x5b0478
push 1
mov ecx, esi
call fcn.005b0290
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005afe00
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.005afe00
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x5b0df0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.005afe50
pop edi
add esp, 0x104
ret 4
Function at 0x5b9518
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x66f474
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0065b585
lea edi, [esi + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.0059cf90
call fcn.005b8a70
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.005b8a70
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 2
call fcn.005b8a70
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 3
call fcn.005b8a70
mov dword [edi], 0xb6d2c0
lea ecx, [esi + 0xd4]
mov byte [esp + 0x18], 4
call fcn.005b9d40
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x34c], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5b9650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x66f4e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0xd4]
mov dword [esp + 0x18], 1
call fcn.005ba1c0
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 4
mov dword [ecx], 0xb6d2d0
call fcn.005b8c70
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 3
mov dword [ecx], 0xb6d2d0
call fcn.005b8c70
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xb6d2d0
call fcn.005b8c70
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xb6d2d0
call fcn.005b8c70
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0065c03e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5bb7a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.005c1c20
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x5bb899
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, esi
call fcn.005bb8b0
test eax, eax
jne 0x5bb899
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push bind
mov ecx, esi
call fcn.005bb8b0
test eax, eax
jne 0x5bb899
lea edx, [esp + 0x10]
push 0xc725a8
push edx
call fcn.006396f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5bb86a
lea eax, [esp + 0x10]
push 0xc725a4
push eax
call fcn.006396f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5bb86a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x5bb86d
mov byte [esi], 0
push 0xc71d6c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x5bb8b0
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 0x5bb912
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 0x5c1b60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x66fc28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x5c1c10
mov eax, dword [0xc827b0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0065a2b3
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0065a302
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0065a25f
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x5c1bf7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x5c1bf7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00659e83
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5c4d10
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6700b0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5c4eb7
mov ecx, dword [0xc827b0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5c4e0c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005c3a30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00659fbc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00659e83
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xc71d6c
call fcn.00659ef1
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005c3df0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00659fbc
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00659e83
lea ecx, [esp + 0xc]
call fcn.0065a397
mov ecx, dword [esp + 0xc]
push 0xc727ac
push ecx
call fcn.00638424
add esp, 8
test eax, eax
je 0x5c4e34
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5c4d6d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00659e83
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00659e83
jmp 0x5c4ebb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005c4ab0
test eax, eax
push 0
je 0x5c4e9f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005c3150
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5c4e85
cmp eax, 0x64
jg 0x5c4e73
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5c4e10
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5c4e10
cmp eax, 0x64
jge 0x5c4e0c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5c4e10
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005c3150
mov esi, eax
jmp 0x5c4e10
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5c4ec5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5d18e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x5d192c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x5d192c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x5d1916
push eax
call ebp
test ax, ax
jl 0x5d1924
inc esi
add edi, 4
cmp esi, 6
jb 0x5d1908
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.005d15e0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5d3f60
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x5d3fc0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x5d3fc0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x5d3fc0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x5d3fc0
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 0x5d3fd0
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 0x5d49b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x5d4a16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x5d4a16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x5d49f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x5d4da0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x5d4dd8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x5d5a00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x5d5a49
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x5d5ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6707c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005d5a70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005d5af0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005d5af0
lea ecx, [esi + 0xc]
call fcn.00659e0e
lea ecx, [esi + 0x10]
call fcn.00659e0e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005d7080
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005d7080
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005d7080
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00659e83
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00659e83
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5d9280
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x670f88
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.005d9c90
mov eax, dword [esp + 0x24]
push 0xc883c4
push eax
xor edi, edi
xor ebx, ebx
call fcn.00638424
add esp, 8
test eax, eax
je 0x5d92cd
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 0x5d9317
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.00659e83
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 0x5d9830
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671010
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.005d9a50
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.005d9ae0
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.005d99a0
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.005d99a0
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.005d99a0
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 0x5d990d
push eax
call fcn.00659bc4
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 0x5d98eb
mov dword [esi + 0x24], 1
jmp 0x5d9902
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x5d9902
mov dword [esi + 0x24], 2
push ebx
call fcn.00659bed
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0xc883c4
call fcn.0065a00c
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 0x5d9984
push eax
call fcn.00659bc4
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 0x5d9968
push 0xc65414
lea ecx, [esi + 0x1c]
call fcn.0065a25f
push ebx
lea ecx, [esi + 0x1c]
call fcn.0065a25f
push ebx
call fcn.00659bed
add esp, 4
xor ebx, ebx
jmp 0x5d991d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d9b80
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x5d9bbe
push eax
call fcn.00638efe
add esp, 4
mov dword [esi + 0xc], ebx
push 0x400
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], ebx
call fcn.006622fa
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], ebx
je 0x5d9c3d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x440]
push 0x400
push ecx
push edx
call edi
cmp eax, ebx
je 0x5d9bfa
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x5d9bfa
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x40]
call fcn.0066251d
jmp 0x5d9bfa
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.0065a9d0
mov edi, eax
cmp edi, ebx
jbe 0x5d9c5c
lea ecx, [ebp - 0x40]
call fcn.006623ad
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp ecx, edi
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call fcn.006623bf
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5da820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5da82b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5da92e
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
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 + 0xb6e8f8]
xor eax, edx
inc ecx
dec edi
jne 0x5da846
pop edi
test esi, esi
je 0x5da950
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xb6e8f8]
xor eax, edx
inc ecx
dec esi
jne 0x5da932
pop esi
pop ebx
not eax
ret
Function at 0x5e67d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5e6803
push esi
call fcn.005eb710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x5e67fc
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5e6889
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5e6872
mov eax, dword [esi + 8]
test eax, eax
je 0x5e6827
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5e686e
cmp eax, 2
je 0x5e6872
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5e681a
cmp eax, 3
je 0x5e684d
cmp eax, 1
jne 0x5e681a
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 0x5e681a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5e681a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005e68c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5e68a9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005e68c0
add esp, 4
pop esi
ret

Function at 0x65c37a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x65c3b2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0065a32a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0065a302
jmp 0x65c3be
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x65db71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x65dbb3
call fcn.00664f45
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x65dbb3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x65dbaa
xor eax, eax
jmp 0x65dbbb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0065dbc1
pop edi
pop esi
pop ebx
ret 4