joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435c20
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x28
test ecx, ecx
push ebx
push ebp
push esi
push edi
je 0x435c34
lea esi, [ecx - 0x24]
mov dword [esp + 0x10], esi
jmp 0x435c40
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], 1
je 0x435cd6
mov eax, dword [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebp, dword [esp + 0x40]
mov edi, eax
push edi
mov ecx, ebp
or ebx, 0xffffffff
call fcn.00407cb0
test eax, eax
je 0x435cba
lea edx, [edi + 1]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp]
test ecx, ecx
mov ebx, eax
jne 0x435c9a
xor eax, eax
jmp 0x435cab
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435ca0
sub eax, esi
js 0x435ccc
cmp eax, dword [ecx - 8]
jg 0x435ccc
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
mov byte [eax + ecx], 0
cmp ebx, edi
jge 0x435d2b
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jmp 0x435cf1
push 0x80070057
call fcn.004027c0
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x435d62
push 0xffffffffffffffff
add esi, 0x24
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x435d05
add esi, 0xffffffdc
jmp 0x435d07
xor esi, esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x435d62
mov ecx, dword [ebp]
mov edx, dword [ecx - 0xc]
cmp edx, dword [esp + 0x50]
jle 0x435d62
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
add ecx, 0x24
call fcn.004355f0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
Function at 0x43b8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0040ddd0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00409df0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43b962
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43cb60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a7b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [0x4a1e24]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4a1e24
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x184
push ecx
mov dword [esp + 0x178], 0
call ebp
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov byte [esp + 0x168], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4a1668]
push ecx
lea edx, [esp + 0x18]
push 0x45f8a0
push edx
mov byte [esp + 0x174], 2
call fcn.00412d20
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43ccc0
test byte [esp + 0x20], 0x20
je 0x43cca5
lea edx, [esp + 0x4c]
push 0x45f89c
push edx
call fcn.0044c450
add esp, 8
test eax, eax
je 0x43cca5
lea eax, [esp + 0x4c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43cc46
sub eax, ecx
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.00402df0
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042fe70
mov eax, dword [eax]
mov edx, dword [esi + 0x24]
push eax
push 0
push 0x180
push edx
call ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x43cc22
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x168], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cce6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x168], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x43cd35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
add esp, 0x15c
ret
Function at 0x440233
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
test esi, esi
je 0x440243
lea eax, [esi + 0x20]
mov dword [esp + 4], eax
jmp 0x44024b
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4a1a7c
call fcn.00418820
lea ecx, [esp + 4]
push ecx
lea ecx, [eax + 4]
call fcn.00418250
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xc]
push 0
add ecx, 0x16
push ecx
mov eax, esp
push 0
push 0
mov dword [esp + 0x1c], ecx
push 0
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
lea ecx, [esi + 0x24]
call fcn.004401b0
mov eax, dword [esi + 0x28]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x466450]
mov edx, dword [0x46644c]
mov eax, dword [esi + 4]
push 5
push 0xec
push 0x286
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
mov dword [0x4a1518], ecx
mov eax, 1
pop esi
add esp, 0x14
ret 0x10

Function at 0x4437f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45a9ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x45dde0
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi], 0x45fadc
mov dword [esi + 0x20], 0x45f864
mov eax, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov byte [esp + 0x18], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov byte [esp + 0x18], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebx
mov ecx, 0x45ed10
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
lea edi, [esi + 0xd8]
mov dword [esi + 0xd0], ebx
mov ecx, edi
mov byte [esp + 0x18], 6
mov dword [esi + 0xd4], ebx
call fcn.00443550
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x45facc
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x449900
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
xor eax, eax
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
xor edi, edi
push 0x45e38c
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call fcn.0044da6f
push edi
mov esi, eax
push edi
push esi
call fcn.0044e394
push esi
push 1
lea eax, [esp + 0x58]
push 4
push eax
call fcn.0044e116
mov eax, dword [esp + 0x60]
add esp, 0x24
cmp eax, 0xffeeddcc
je 0x44998b
cmp eax, 0xffeeddcd
je 0x44998b
push esi
call fcn.0044d9c2
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 0xc
push ebp
push esi
push 1
lea ecx, [esp + 0x1c]
push 0x10
push ecx
call fcn.0044e116
mov ebp, dword [esp + 0x54]
mov eax, ebp
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4499a7
sub eax, edx
push 0x14
push eax
lea edx, [esp + 0x30]
push edx
push ebp
call fcn.00410760
push 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0044cfd0
add esp, 0x1c
test eax, eax
je 0x4499ed
push esi
call fcn.0044d9c2
add esp, 4
pop ebp
pop edi
mov eax, 3
pop esi
add esp, 0x30
ret 0xc
push ebx
push esi
push 1
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0044e116
mov eax, dword [esp + 0x20]
add eax, 2
push eax
call fcn.0044d971
mov ecx, dword [esp + 0x24]
push esi
push 1
mov edi, eax
push ecx
push edi
call fcn.0044e116
mov edx, dword [esp + 0x34]
push esi
mov byte [edi + edx], 0
call fcn.0044d9c2
mov eax, dword [esp + 0x38]
add eax, 2
push eax
call fcn.0044d971
mov ebx, eax
mov eax, ebp
add esp, 0x2c
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x449a41
sub eax, esi
test eax, eax
jle 0x449a71
mov edi, edi
movsx edx, byte [ecx + ebp]
mov esi, dword [esp + 0x14]
add esi, edx
mov eax, ebp
mov dword [esp + 0x14], esi
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x449a64
sub eax, esi
cmp ecx, eax
jl 0x449a50
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x449a95
jmp 0x449a80
mov dl, byte [eax + edi]
mov cl, byte [esp + 0x14]
xor dl, cl
mov byte [eax + edi], dl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jl 0x449a80
push ecx
push ebx
push edi
call fcn.00410810
push edi
call fcn.0044d96c
push 0x45c51c
push ebx
call fcn.0044e72a
add esp, 0x18
test eax, eax
je 0x449adb
mov esi, dword [esp + 0x4c]
lea esp, [esp]
push eax
mov ecx, esi
call fcn.0040ae80
push 0x45c51c
push 0
call fcn.0044e72a
add esp, 8
test eax, eax
jne 0x449ac0
push ebx
call fcn.0044d96c
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, 0xffeeddcd
pop ebx
jne 0x449afe
pop ebp
pop edi
mov eax, 2
pop esi
add esp, 0x30
ret 0xc
xor edx, edx
cmp eax, 0xffeeddcc
sete dl
pop ebp
pop edi
pop esi
mov eax, edx
add esp, 0x30
ret 0xc
Function at 0x44a440
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a1ce4]
sub esp, 0x64
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x44a51f
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x466d30
mov eax, dword [edi]
push eax
mov eax, dword [esi + 4]
push eax
call ebp
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 4
cmp edi, 0x466d80
jl 0x44a462
mov ebx, dword [sym.imp.USER32.dll_CheckDlgButton]
xor edi, edi
jmp 0x44a490
mov eax, dword [edi + 0x466da8]
mov ecx, dword [esi + 4]
push eax
push ecx
call ebp
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x4a1ce8]
mov eax, dword [edi + 0x466da8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call ebx
add edi, 4
cmp edi, 0x28
jl 0x44a490
mov ebx, 0x466da8
mov edi, 0x4a1d10
lea esp, [esp]
push edi
lea edx, [esp + 0x14]
push 0x4609bc
push edx
call fcn.0044c952
mov ecx, dword [ebx]
mov edx, dword [esi + 4]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
add edi, 0x18
add ebx, 4
cmp edi, 0x4a1d88
jl 0x44a4d0
mov eax, dword [esi + 4]
push 0x529
push eax
call ebp
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x466da8
mov eax, dword [edi]
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
push 0
push eax
call ebp
add edi, 4
cmp edi, 0x466dd0
jl 0x44a530
mov edx, dword [esi + 4]
push 0x529
push edx
call ebx
push 0
push eax
call ebp
mov edi, 0x466d30
mov edi, edi
mov eax, dword [edi]
push eax
mov eax, dword [esi + 4]
push eax
call ebx
push 5
push eax
call ebp
add edi, 4
cmp edi, 0x466d80
jl 0x44a560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x44bd30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov dword [0x4a1648], 1
mov dword [0x4a1dc0], ebx
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x44bd5e
push eax
call fcn.0044c8e1
add esp, 4
mov dword [edi], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
je 0x44bd9c
mov edx, dword [esp + 0x22]
mov ecx, dword [esp + 0x18]
mov dword [0x4a1dcc], eax
mov eax, dword [esp + 0x14]
push edx
push ebx
mov dword [0x4a1dc8], eax
mov dword [0x4a1dc4], ecx
call fcn.0044b6a0
add esp, 8
test eax, eax
jne 0x44bda2
mov dword [0x4a1648], esi
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
call ebp
push 8
mov dword [esp + 0x18], eax
call fcn.0044dda6
mov dword [0x4a1dd0], eax
xor ecx, ecx
mov dword [eax], ecx
push 0x3c
mov dword [eax + 4], ecx
call fcn.0044dda6
mov edi, eax
xor eax, eax
mov dword [0x4a1dd8], edi
mov ecx, 0xf
push 0x3c
rep stosd dword es:[edi], eax
call fcn.0044dda6
mov edi, eax
xor eax, eax
mov dword [0x4a1dd4], edi
mov ecx, 0xf
push 0x3c
rep stosd dword es:[edi], eax
call fcn.0044dda6
mov edx, eax
xor eax, eax
mov ecx, 0xf
mov edi, edx
rep stosd dword es:[edi], eax
movzx edi, word [esp + 0x36]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x30]
movzx ecx, bx
movzx eax, si
sub eax, ecx
movzx ecx, word [esp + 0x32]
sub ecx, edi
mov edi, ecx
imul edi, ecx
mov ecx, eax
imul ecx, eax
lea eax, [edi + ecx]
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 0x10], esi
mov eax, dword [0x4a1dd8]
add esp, 0x10
mov dword [eax + 0x38], edx
xor edi, edi
mov eax, dword [0x4a1dd8]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x44bebd
mov esi, ecx
mov ecx, dword [esi + 0x38]
mov dword [eax + 0x38], ecx
mov edx, dword [0x4a1dd4]
mov eax, dword [edx + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [0x4a1dd4]
mov dword [ecx + 0x38], esi
call ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
sub eax, edx
cmp eax, ecx
ja 0x44bebd
cmp dword [esi + 0x10], ebx
je 0x44be8d
push ebx
push esi
call fcn.0044ba30
add esp, 8
jmp 0x44be43
mov ecx, dword [esi + 0x14]
mov eax, esi
add esi, 0x14
test ecx, ecx
mov edi, 1
je 0x44bebd
mov edi, edi
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
push 1
push edx
push 0
call fcn.0041b9d0
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
lea esi, [eax + 0x14]
jne 0x44bea0
call fcn.0044b730
mov eax, dword [0x4a1dd8]
push eax
mov dword [0x4a1648], 0
call fcn.0044d96c
mov ecx, dword [0x4a1dd4]
push ecx
call fcn.0044d96c
mov edx, dword [0x4a1dd0]
push edx
call fcn.0044d96c
add esp, 0xc
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x44bf30
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
xor eax, eax
mov dword [esp], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push ecx
mov dword [esp + 0x14], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov word [esp + 6], ax
push 0x10
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
pop esi
jne 0x44bf92
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x44bf92
xor eax, eax
add esp, 0x10
ret 8
mov eax, 1
add esp, 0x10
ret 8

Function at 0x44c010
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [ecx + 4]
lea ecx, [esp]
push ecx
push 0
mov dword [esp + 0xc], edx
push 0
lea edx, [esp + 0x14]
push edx
push 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
add esp, 0x10c
ret 8

Function at 0x44c080
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push esi
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44c0cf
test esi, esi
je 0x44c0a7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x44c0ae
pop esi
xor eax, eax
pop ebx
ret 8
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
mov edx, ecx
push edi
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
pop edi
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.0044bf30
pop esi
pop ebx
ret 8
Function at 0x44ddb4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044c570
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x44de4f
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4a2044]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44de4f
cmp eax, 1
je 0x44de70
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x44de4f
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44de1c
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44de4b
xor eax, eax
inc eax
jmp 0x44de8f
cmp edi, eax
jae 0x44de53
xor eax, eax
jmp 0x44de8f
cmp eax, esi
jae 0x44de5a
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov eax, dword [0x4a2044]
jmp 0x44de73
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44df71
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44df8e
call fcn.00454385
mov dword [eax], 0x16
xor eax, eax
jmp 0x44dff8
push esi
push 0x8c
push 1
call fcn.00454cb1
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44dfe3
push esi
call fcn.0044f1b5
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44dfc1
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44dedc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x44dff7
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0044c8e1
test ebx, ebx
pop ecx
je 0x44dff5
push ebx
call fcn.00454397
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44ec81
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x460c70
call fcn.0044ef00
mov edi, 0x94
mov eax, edi
call fcn.0044c570
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4a2044], ecx
mov eax, dword [esi + 4]
mov dword [0x4a2050], eax
mov edx, dword [esi + 8]
mov dword [0x4a2054], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4a2048], esi
cmp ecx, 2
je 0x44ece1
or esi, 0x8000
mov dword [0x4a2048], esi
shl eax, 8
add eax, edx
mov dword [0x4a204c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44ed1c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44ed1c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44ed34
cmp eax, 0x20b
je 0x44ed21
mov dword [ebp - 0x1c], esi
jmp 0x44ed48
cmp dword [ecx + 0x84], 0xe
jbe 0x44ed1c
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x44ed42
cmp dword [ecx + 0x74], 0xe
jbe 0x44ed1c
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044f717
pop ecx
test eax, eax
jne 0x44ed5c
push 0x1c
call fcn.0044ec5d
pop ecx
call fcn.0044f3af
test eax, eax
jne 0x44ed6d
push 0x10
call fcn.0044ec5d
pop ecx
call fcn.00455d93
mov dword [ebp - 4], esi
call fcn.0045452c
test eax, eax
jge 0x44ed86
push 0x1b
call fcn.0044ec38
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4a3714], eax
call fcn.00455c71
mov dword [0x4a1e74], eax
call fcn.00455bcf
test eax, eax
jge 0x44edac
push 8
call fcn.0044ec38
pop ecx
call fcn.0045599c
test eax, eax
jge 0x44edbd
push 9
call fcn.0044ec38
pop ecx
push 1
call fcn.00450dcc
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x44edd3
push eax
call fcn.0044ec38
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
call fcn.0045593f
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x44edf4
movzx eax, word [ebp - 0x40]
jmp 0x44edf7
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00415310
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44ee15
push edi
call fcn.00450ef9
call fcn.00450f1b
jmp 0x44ee47
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044ef3b
ret