joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446f00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446f33
push esi
call fcn.0044a000
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446f2c
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 0x446fb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446fa2
mov eax, dword [esi + 8]
test eax, eax
je 0x446f57
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 0x446f9e
cmp eax, 2
je 0x446fa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446f4a
cmp eax, 3
je 0x446f7d
cmp eax, 1
jne 0x446f4a
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 0x446f4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446f4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446fe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446fc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446fe0
add esp, 4
pop esi
ret

Function at 0x454d30
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4a7d9c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x454d43
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x454d84
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4a7e44]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x454db6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x454dba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x454dab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x454dd8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x454ddc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x454dcd
xor ecx, ecx
mov eax, 0x4a7dac
xor ebx, ebx
mov bl, byte [ecx + 0x4a7e54]
cmp byte [esp + ebx + 0x14], 0
je 0x454e07
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a7e6c]
cmp byte [esp + ebx + 0x14], 0
je 0x454e1e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x454dee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x454d77
lea edx, [esp + 0x84]
push edx
call fcn.00454e60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x457330
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 0x457396
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 0x457396
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x457377
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x457720
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x457758
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 0x458430
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 0x458479
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 0x4588f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483780
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.004584a0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00458520
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00458520
lea ecx, [esi + 0xc]
call fcn.00473269
lea ecx, [esi + 0x10]
call fcn.00473269
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00459ab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00459ab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00459ab0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004732de
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004732de
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4756ce
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475706
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.00473785
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047375d
jmp 0x475712
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x476dc0
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 0x476e02
call fcn.0047cd6b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x476e02
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x476df9
xor eax, eax
jmp 0x476e0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00476e10
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d29b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d2c9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d2e7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d201
jmp 0x47d2e7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d2e7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d201
test edi, edi
mov eax, edi
jne 0x47d2d1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40ef70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [0x483338]
push edi
call fcn.00401a10
call dword [0x483334]
test eax, eax
jne 0x433636
mov eax, dword [0x4a571c]
test eax, eax
je 0x43364f
mov byte [esp + 0xf], 0
mov esi, 0x4a68a8
cmp eax, 1
je 0x433663
push 0x4a571c
lea ecx, [esp + 0x13]
mov eax, 0x4a5734
call fcn.00410710
test al, al
je 0x433684
mov dl, byte [0x4a68a8]
mov bl, byte [0x4a68a9]
push 0x4a5718
lea eax, [esp + 0x234]
push eax
push 0x104
push 0x4a5734
mov byte [0x4a5720], dl
call dword [0x483320]
mov ecx, dword [0x4a571c]
push ecx
push 0x4a5734
call fcn.0040e6c0
test eax, eax
jne 0x433698
cmp bl, 1
je 0x4336bc
call fcn.00411580
call fcn.00411770
cmp byte [0x4a5720], 0
jne 0x40f048
mov esi, 0x4a5ee0
call fcn.0040f2c0
push 1
mov ecx, 0x4a5940
call fcn.00404710
cmp byte [0x4a5720], 0
jne 0x40f067
mov ecx, 0x4a5ee0
call fcn.0040f3c0
mov ebx, 0x4a68a8
call fcn.0040ff20
lea eax, [esp + 0x20]
push eax
call dword [0x483330]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
push 0x10
push 0x4856d6
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [0x4836fc]
jmp 0x40f07c
lea ecx, [esp + 0x20]
mov dword [0x494cbc], 0xffffffff
push ecx
jmp 0x40f076
mov edx, dword [0x4a5724]
push 0xffffffffffffffff
push edx
push 1
xor bl, bl
call fcn.00403940
mov al, byte [0x494cb0]
mov byte [0x4a68ab], al
jmp 0x40f009
lea ecx, [esp + 0x20]
mov dword [0x494cbc], 1
push ecx
jmp 0x40f076
mov ebx, 0x4a68a8
call fcn.0040ff20
lea edx, [esp + 0x20]
push edx
call dword [0x483330]
mov dword [0x494cbc], 1
jmp 0x40f07c
call fcn.00437bd2
test al, al
jne 0x40f02b
push 0x104
lea eax, [esp + 0x234]
push eax
push 0
call dword [0x48331c]
cmp byte [esp + 0xf], 0
je 0x43373d
mov edi, 0x485740
lea esi, [esp + 0x10]
call fcn.004015c0
mov edi, 0x4a5734
mov eax, esi
call fcn.004013a0
mov edi, 0x485740
mov eax, esi
call fcn.004013a0
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x23c]
push eax
push 0x485744
call dword [0x4836f8]
push eax
call dword [0x483490]
mov ecx, esi
call fcn.004020b0
jmp 0x40f067
push 1
lea ecx, [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x23c]
push edx
push 0x485744
call dword [0x4836f8]
push eax
call dword [0x483490]
jmp 0x40f067

Function at 0x4104b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
lea eax, [esp]
push eax
xor edx, edx
push 1
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov word [esi], dx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [0x483040]
test eax, eax
jne 0x4104ff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [0x48303c]
mov eax, dword [esp]
push eax
call dword [0x483038]
pop ecx
ret
Function at 0x410960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4858e8
or eax, 0xffffffff
call fcn.004108f0
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00414ea0
push esi
call fcn.0041294d
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00410a30
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00410a60
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x4109c0
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488434
push eax
call fcn.0041644f
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42c7c1
push edi
call fcn.004107b0
test eax, eax
je 0x42c7cb
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004164dd
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x410a1f
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004167f9
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044d0f5
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42c7fb
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.004169c5
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x410a1f

Function at 0x410a30
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414710
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x411770
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x494ce8]
push esi
push 0
mov esi, dword [0x4836e4]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x494ce8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x494ce0], eax
call esi
mov edx, dword [0x494ce0]
mov esi, dword [0x4836e0]
push 0
push edx
mov dword [0x494cdc], eax
call esi
mov eax, dword [0x494ce0]
push 0
push eax
call esi
pop esi
ret
Function at 0x411930
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [0x483654]
xor ebx, ebx
push ebx
push 0x5b
mov dword [esi], 5
mov dword [esi + 4], 5
mov dword [esi + 0x10], ebx
mov byte [esi + 8], 1
mov byte [esi + 9], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0xa0
call edi
push ebx
push 0x10
mov byte [esi + 0x1d], al
call edi
mov byte [esi + 0x1a], al
mov eax, dword [esi + 0x20]
push ebx
push eax
call edi
push ebx
push 0xa1
mov byte [esi + 0x1b], al
call edi
push ebx
push 0x11
mov byte [esi + 0x1c], al
call edi
push ebx
push 0x12
mov byte [esi + 0x18], al
call edi
lea ecx, [esp + 0xc]
push ecx
mov byte [esi + 0x19], al
call dword [0x4835c8]
mov edi, dword [0x4835c4]
mov esi, 1
mov bl, 0x20
mov edi, edi
movzx edx, byte [esi + 0x493e88]
push edx
call edi
cmp ax, 0xffff
je 0x411a1f
inc esi
cmp esi, 7
jle 0x4119b0
lea eax, [esp + 0x10]
push str.0409
push eax
call fcn.004154c0
add esp, 8
test eax, eax
je 0x42a98a
lea edx, [esp + 0x10]
push str.0809
push edx
call fcn.004154c0
add esp, 8
test eax, eax
jne 0x42a9b7
mov byte [0x493e8a], bl
mov byte [0x493e8d], bl
mov byte [0x493e8e], bl
mov byte [0x493e8b], bl
mov byte [0x493e8c], bl
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x493e88], bl
jmp 0x4119c0
push 4
lea ecx, [esp + 0x10]
push str.0002
push ecx
call fcn.00415548
add esp, 0xc
mov byte [0x493e8a], bl
mov byte [0x493e8d], bl
test eax, eax
je 0x411a18
jmp 0x411a06
lea eax, [esp + 0x12]
push 0x4865e4
push eax
call fcn.004154c0
add esp, 8
test eax, eax
jne 0x42a9d8
mov byte [0x493e8d], bl
jmp 0x411a12
lea ecx, [esp + 0x12]
push 0x4865e8
push ecx
call fcn.004154c0
add esp, 8
test eax, eax
je 0x4119fa
lea edx, [esp + 0x12]
push 0x4865ec
push edx
call fcn.004154c0
add esp, 8
test eax, eax
je 0x411a12
lea eax, [esp + 0x12]
push 0x4865f0
push eax
call fcn.004154c0
add esp, 8
test eax, eax
jne 0x411a18
jmp 0x411a00
Function at 0x435235
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [esp + 0xc]
test eax, 0x80000
je 0x435255
and eax, 0xfff7ffff
mov edx, dword [0x4a5e54]
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edx
push eax
call dword [0x4836e4]
mov esi, eax
test esi, esi
je 0x4352c8
cmp byte [esp + 0x34], 0
je 0x4352ad
push 0
push 0x11
call dword [0x483140]
push eax
push 0x30
push esi
call dword [0x483650]
cmp dword [edi + 0x180], 0
jl 0x4352c8
cmp byte [edi + 0x18c], 0
je 0x4352c8
push 0
push esi
call dword [0x4836e0]
pop edi
mov eax, esi
pop esi
ret 0x2c
Function at 0x43602d
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov ebp, dword [esi + 4]
cmp eax, ecx
push edi
mov edi, dword [esi + 0xc]
setl dl
cmp edi, ebp
setl bl
mov byte [esp + 0x5c], dl
mov byte [esp + 0x13], bl
test dl, dl
je 0x43605e
mov dword [esi], eax
mov dword [esi + 8], ecx
test bl, bl
je 0x436068
mov dword [esi + 4], edi
mov dword [esi + 0xc], ebp
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [edx + 0xfc]
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00435fde
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add dword [esi], eax
add dword [esi + 8], eax
mov edx, dword [esi]
mov edi, dword [esi + 8]
add dword [esi + 4], ecx
add dword [esi + 0xc], ecx
mov ebx, dword [esi + 4]
mov ebp, dword [esi + 0xc]
sub edi, edx
inc edi
sub ebp, ebx
push 0
mov dword [esp + 0x5c], edi
inc ebp
call dword [0x4835f0]
push ebp
mov ebx, eax
push edi
push ebx
call dword [0x4830ec]
push ebx
mov dword [esp + 0x18], eax
call dword [0x4830f0]
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
push edi
call dword [0x4830f4]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], eax
mov ecx, ebp
test dl, dl
je 0x4360e6
neg ecx
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x58]
je 0x4360f3
neg eax
test dl, dl
je 0x4360fc
mov edx, dword [esi + 0xc]
jmp 0x4360ff
mov edx, dword [esi + 4]
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x54], edx
je 0x436124
mov esi, dword [esi + 8]
jmp 0x436126
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041294d
add esp, 4
xor eax, eax
add esp, 0x40
ret 0x10
mov esi, dword [esi]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
push ebx
push ebp
push ecx
push 0
push 0
push edi
call dword [0x4830f8]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
push 0
mov eax, ebp
neg eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
mov dword [esp + 0x3c], edx
push esi
mov ecx, 1
mov edx, 0x20
push edi
mov dword [esp + 0x40], 0x28
mov word [esp + 0x4c], cx
mov word [esp + 0x4e], dx
mov dword [esp + 0x50], 0
call dword [0x4830fc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
push eax
mov dword [ecx], eax
call fcn.00412c3a
add esp, 4
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ebp
push 0
push esi
push edi
mov dword [esp + 0x78], eax
call dword [0x4830fc]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [0x4830f4]
push esi
call dword [0x4830c8]
push edi
call dword [0x48314c]
push ebx
push 0
call dword [0x4835ec]
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x43610f
mov eax, dword [esp + 0x4c]
add esp, 0x40
ret 0x10
Function at 0x4361f7
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + edx]
mov edx, edi
imul edx, esi
add edx, edx
add esi, esi
or eax, 0xffffffff
add edx, edx
add esi, esi
lea edi, [ecx + edi*4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov esi, ecx
movzx ebp, byte [ecx + 2]
add ecx, 2
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x492dc8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x492dc8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x492dc8]
add ecx, edx
cmp ecx, ebx
jb 0x436284
add esi, dword [esp + 0x20]
mov ecx, esi
cmp esi, dword [esp + 0x1c]
jb 0x43622b
not eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
test eax, eax
jge 0x43629e
fadd qword [0x48d260]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x436c5d
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x436c73
cmp eax, 0x10000
jne 0x436c97
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.004167f9
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4

Function at 0x436cb1
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x436ce0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00415d17
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4

Function at 0x436ce4
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x436d33
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.00415d17
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x436ddc
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x436e02
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00412490
add esp, 0xc
jmp 0x436e17
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.004167f9
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push str.EA06
push ecx
mov byte [esp + 0x10], 0
call fcn.004154c0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8
Function at 0x436ebf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x4a4d08], eax
mov edx, 1
mov eax, 0x4a4d08
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a56c4
jl 0x436ed3
mov dword [0x49323c], 1
mov dword [0x4a56d8], 1
pop edi
ret

Function at 0x438109
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4381e7
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4381e7
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x438172
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x438169
cmp esi, edx
jle 0x438192
push str.0.0.0.0
push edi
call fcn.00412bb1
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00412490
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00414ea0
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
call fcn.0043754b
mov esi, eax
push esi
push edi
call fcn.00412bb1
push esi
call fcn.0041294d
add esp, 0x1c
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x4858e8
push edi
call fcn.00412bb1
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret