joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fd40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b6853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a9934
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004aefcc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b04e8
test eax, eax
je 0x45fe5c
mov ecx, dword [esp + 0x3c]
call fcn.004aeff9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45fe20
push edi
mov ecx, esi
call fcn.004ac666
mov ecx, esi
call fcn.00460000
cmp dword [esp + 0x38], 1
jne 0x45fe55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004ac7a1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x462040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x462073
push esi
call fcn.00470400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46206c
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 0x4620f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4620e2
mov eax, dword [esi + 8]
test eax, eax
je 0x462097
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 0x4620de
cmp eax, 2
je 0x4620e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46208a
cmp eax, 3
je 0x4620bd
cmp eax, 1
jne 0x46208a
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 0x46208a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46208a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00462120
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x462108
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00462120
add esp, 4
pop esi
ret

Function at 0x4629a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4629c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4629c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4629c1
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 0x47d6f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47d793
test eax, eax
jbe 0x47d793
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47d793
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47d73e
xor esi, esi
jmp 0x47d744
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47d76f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0047f680
add esi, eax
push esi
mov ebx, esi
call fcn.0047f680
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47d750
pop ebp
test edi, edi
pop edi
jne 0x47d793
test ebx, ebx
je 0x47d793
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00498860
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x47d8f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47da0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47da0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a9d86
mov esi, eax
test esi, esi
je 0x47da0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47da0d
mov ecx, esi
call fcn.0047d880
cmp edi, eax
jge 0x47da0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47d993
mov dword [esp + 0x34], 1
jmp 0x47d9ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47da0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047ce30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x482560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x54ffb8]
xor edx, edx
cmp eax, edx
jne 0x482586
xor eax, eax
mov byte [eax + 0x54feb8], al
inc eax
cmp eax, 0x100
jl 0x48256e
mov dword [0x54ffb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x54feb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x482617
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 0x4825ea
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 0x4825b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x482690
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 0x4826e3
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 0x4826ca
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 0x489070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6f5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00489990
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x50f7ac
call fcn.004a809c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x489103
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a809c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4890fc
push 0
mov ecx, eax
call fcn.00480190
mov dword [esi + 0xc], eax
jmp 0x489105
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x489105
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4aa729
Capabilities:
Get graphical window text

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

Function at 0x4abe20
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 0x4abe62
call fcn.004b18ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4abe62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4abe59
xor eax, eax
jmp 0x4abe6a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004abe70
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b1dfe
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 0x4b1e2c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1e4a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b1d64
jmp 0x4b1e4a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b1e4a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b1d64
test edi, edi
mov eax, edi
jne 0x4b1e34
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402f10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x402f5c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402f3f
cmp edi, 2
jb 0x402f3f
cmp byte [esi], cl
jne 0x402f3f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b9c70]
test edi, edi
jne 0x402f25
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402f8b
cmp cl, 0x23
jne 0x402f72
cmp byte [esi], cl
jne 0x402f72
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4b9c70]
test cl, cl
jne 0x402f63
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4030a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4030b3
mov dword [edi], 0
mov edx, 0x4b9ae4
call fcn.00402fa0
mov esi, eax
test esi, esi
je 0x40319c
push esi
call fcn.0047c97f
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x403193
push 2
push 0
push esi
call fcn.0047d4d1
add esp, 0xc
test eax, eax
jne 0x403193
push esi
call fcn.0047c97f
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x403193
push 0
push dword [ebp + 8]
push esi
call fcn.0047d4d1
add esp, 0xc
test eax, eax
jne 0x403193
mov eax, dword [0x4c8150]
test eax, eax
je 0x403126
inc dword [eax + 0x374]
push dword [0x4c8148]
push ebx
call fcn.00402870
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x403193
push esi
push ebx
push 1
push eax
call fcn.0047f71e
add esp, 0x10
push esi
cmp eax, ebx
je 0x40317d
call fcn.0047d191
mov eax, dword [0x4c8150]
add esp, 4
test eax, eax
je 0x403165
dec dword [eax + 0x374]
push dword [0x4c8148]
push dword [ebp + 8]
call fcn.00402880
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0047d191
add esp, 4
test edi, edi
je 0x40318b
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.0047d191
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x406e30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov edi, ecx
mov dword [ebp - 0x24], str.Window
mov esi, 0x4b9a3d
mov al, 0x57
or ebx, 0xffffffff
cmp al, 0x23
jne 0x406e64
cmp byte [esi], al
jne 0x406e64
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4b9c70]
test al, al
jne 0x406e56
mov esi, dword [edi + 0x2e30]
not edx
mov ecx, dword [edi + 0x2e34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x411960
mov dword [ebp - 0x14], 0x4119e0
mov dword [ebp - 0x10], 0x411a70
mov dword [ebp - 0xc], 0x411b40
mov dword [ebp - 8], 0x411c00
cmp esi, ecx
jne 0x406f52
inc esi
test ecx, ecx
je 0x406ec9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x406ece
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x406f52
mov eax, dword [0x4c8150]
test eax, eax
je 0x406ee6
inc dword [eax + 0x374]
push dword [0x4c8148]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call fcn.00402870
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2e38]
test eax, eax
je 0x406f46
mov ecx, dword [edi + 0x2e30]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.00478f60
mov ecx, dword [edi + 0x2e38]
add esp, 0xc
test ecx, ecx
je 0x406f37
mov eax, dword [0x4c8150]
test eax, eax
je 0x406f37
dec dword [eax + 0x374]
push dword [0x4c8148]
push ecx
call fcn.00402880
add esp, 8
mov dword [edi + 0x2e38], ebx
mov dword [edi + 0x2e34], esi
mov eax, dword [edi + 0x2e30]
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x2e38]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [edi + 0x2e30]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4083d0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40840d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x4083f3
cmp byte [esi], bl
jne 0x4083f3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4b9c70]
test bl, bl
jne 0x4083e4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408360
Function at 0x4111c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x4c8150]
push edi
cmp byte [esi + 0x2e48], 0
je 0x41125e
cmp dword [esi + 0x2e50], 0
lea edi, [esi + 0x2e54]
je 0x411250
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x411209
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00412890
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.004034b0
mov edx, dword [edi]
mov ecx, 0x4c814c
push dword [esi + 0x2e50]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2e5c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.0047dcc3
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004034b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6ac
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c60c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x430214
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.00430400
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x430256
mov eax, ecx
neg eax
je 0x430256
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x43025e
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00431eb0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x43028d
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x437820
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4c60c4]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x437875
mov eax, dword [esp]
cmp al, 2
jne 0x43786f
shr eax, 8
cmp al, 2
jne 0x43786f
call fcn.00440250
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00475e9f
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
mov eax, 2
xor ecx, esp
call fcn.00475e9f
add esp, 0x194
ret
Function at 0x439f10
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a00de
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c60c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x4b99d6
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.0042b9b0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], 1
push eax
mov dword [ebp - 0x34], 0x10
mov dword [ebp - 0x38], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x439fe8
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439fa0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0042b9b0
cmp byte [ebp + 0xc], 0
je 0x439fe8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x439fe8
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439fd3
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.0042b9b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475e9f
mov esp, ebp
pop ebp
ret
Function at 0x440c70
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x440c8c
cmp dword [esi + 0x48], 0
je 0x440c8c
push 2
push 3
push esi
call fcn.00455350
add esp, 0xc
push dword [esp + 0xc]
call fcn.0044e5b0
add esp, 4
test esi, esi
je 0x440cad
cmp dword [esi + 0x48], 0
je 0x440cad
push 3
push esi
call fcn.00455390
add esp, 8
pop esi
ret

Function at 0x4413f0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x3a8], 2
je fcn.004413a0
mov al, 1
ret
Function at 0x44a540
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push 0x4000
push dword [edi + 0x63c]
call fcn.00455950
mov eax, dword [edi + 0x120]
add esp, 0x10
test eax, eax
je 0x44a594
cmp byte [edi + 0x4690], 0
jne 0x44a594
push dword [edi + 0x63c]
push 0x4a3974
push 0x100
push eax
call fcn.00455860
add esp, 0x10
mov byte [edi + 0x4690], 1
cmp byte [edi + 0x350], 0
je 0x44a61d
mov ecx, dword [edi + 0x63c]
push esi
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x44a5b0
sub esi, edx
cmp esi, 0x3fff
jae 0x44a5d0
mov byte [ecx + esi], 0xa
inc esi
mov eax, dword [edi + 0x63c]
mov byte [esi + eax], 0
mov eax, dword [edi + 0x190]
push ebx
mov ebx, dword [edi + 0x63c]
test eax, eax
je 0x44a5f5
push dword [edi + 0x11c]
push esi
push ebx
push 0
push edi
call eax
add esp, 0x14
pop ebx
pop esi
pop edi
ret
push dword [edi + 0x118]
push 1
push 2
push 0x4a395c
call fcn.0047dcc3
push dword [edi + 0x118]
push 1
push esi
push ebx
call fcn.0047dcc3
add esp, 0x20
pop ebx
pop esi
pop edi
ret

Function at 0x44a620
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x4c60c4]
xor eax, esp
mov dword [esp + 0x804], eax
push edi
mov edi, dword [esp + 0x810]
test edi, edi
je 0x44a6e9
cmp byte [edi + 0x350], 0
je 0x44a6e9
push esi
lea eax, [esp + 0x81c]
push eax
push dword [esp + 0x81c]
lea eax, [esp + 0x10]
push 0x801
push eax
call fcn.00455950
lea esi, [esp + 0x18]
add esp, 0x10
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x44a680
mov eax, dword [edi + 0x190]
sub esi, ecx
test eax, eax
je 0x44a6be
push dword [edi + 0x11c]
lea ecx, [esp + 0xc]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00475e9f
add esp, 0x808
ret
push dword [edi + 0x118]
push 1
push 2
push 0x4a395c
call fcn.0047dcc3
push dword [edi + 0x118]
lea eax, [esp + 0x1c]
push 1
push esi
push eax
call fcn.0047dcc3
add esp, 0x20
pop esi
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.00475e9f
add esp, 0x808
ret

Function at 0x44a950
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
mov esi, dword [edi + eax*4 + 0x190]
call fcn.0044ad80
add esp, 8
push 0
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [ebp], 0
cmp ebx, 0xffffffff
jne 0x44a9d6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44a9ae
pop edi
pop esi
mov dword [ebp], 0x51
xor eax, eax
pop ebp
pop ebx
ret
push esi
push edi
call fcn.00457980
push eax
push str.Send_failure:__s
push dword [edi]
call fcn.0044a540
mov eax, dword [edi]
add esp, 0x14
mov dword [eax + 0x4694], esi
mov eax, ebx
mov dword [ebp], 0x37
pop edi
pop esi
pop ebp
pop ebx
ret