joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424530
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4245b1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424547
push esi
sub eax, edx
push edi
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, ebx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424573
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x424594
mov eax, ebx
call fcn.00404df0
test eax, eax
je 0x424599
call fcn.0042cfa0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret

Function at 0x424f60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [edx]
push esi
mov ecx, 0x20
push edi
lea esp, [esp]
mov edi, eax
shr edi, 2
xor edi, eax
shr edi, 2
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
mov esi, eax
ror esi, 1
xor edi, eax
and esi, 0xfffffffe
and edi, 1
or esi, edi
sub ecx, 1
mov eax, esi
jne 0x424f70
pop edi
mov dword [edx], eax
pop esi
ret

Function at 0x4253a0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
cmp dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
jne 0x4253d3
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4253d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
call fcn.00425380
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4258e0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4894b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x425926
mov eax, 0x8009
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebx
mov ecx, dword [edi + 0x140]
cmp ecx, ebx
je 0x4259af
cmp dword [0x4acfc8], ebx
je 0x4259af
push 1
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4259af
lea esp, [esp]
mov eax, dword [0x4acfc8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [edi + 0x140]
push 1
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x425980
cmp dword [edi + 8], 1
jne 0x425a34
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x425a2d
cmp dword [edi + 0xc], ebx
je 0x4259f8
call fcn.00439420
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [edi + 4]
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push ebx
push ebx
push 0x4004667f
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
jmp 0x425a1c
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x80
push 0xffff
push eax
mov word [esp + 0x24], 1
mov word [esp + 0x26], bx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0xffffffff
cmp dword [0x4acfcc], ebx
jne 0x425a41
call fcn.00425670
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], ebx
je 0x425a63
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret

Function at 0x425cd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, dword [ecx + 4]
lea eax, [esp]
push eax
push esi
push ecx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, esi
pop ecx
ret
Function at 0x426830
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
sub eax, 0
je 0x426861
sub eax, 1
jne 0x42686b
mov ecx, dword [ebx + 0x98]
cmp ecx, dword [ebx + 0x9c]
lea eax, [ebx + 0x60]
jne 0x42685a
mov eax, 6
pop esi
pop ecx
ret
call fcn.00424d40
jmp 0x42686b
movzx edx, word [esi + 0x103e]
mov dword [esi + 0x24], edx
push ebp
push edi
lea ebp, [ebx + 0x14c]
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebx + 4]
push edi
push esi
push edi
lea eax, [esp + 0x18]
push eax
push ecx
add esi, 0x24
push esi
push edx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x4268f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x4268b3
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret
cmp eax, 0x2733
je 0x4268d9
cmp eax, 8
je 0x4268d9
cmp eax, 0x2747
je 0x4268d9
push ebp
mov edi, 0x8002
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret
push eax
push str.WSASend_____NERR_TOO_MANY_OUTSTANDING:__d
push 0
call fcn.00430530
add esp, 0xc
push ebp
mov edi, 0x8005
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret

Function at 0x426f30
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xe0]
sub esp, 8
cmp eax, ecx
push ebp
push esi
lea esi, [ebx + 0xa4]
jne 0x426f52
xor ebp, ebp
mov dword [esi + 0x38], ebp
jmp 0x426f6d
sub eax, ecx
push edi
mov edi, eax
mov eax, dword [esi + 0x34]
push edi
add ecx, eax
push ecx
push eax
call fcn.00463780
add esp, 0xc
mov dword [esi + 0x38], edi
xor ebp, ebp
pop edi
mov eax, esi
mov dword [esi + 0x3c], ebp
call fcn.00424d40
mov ecx, dword [ebx + 0xc4]
push ebp
push esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 4]
push ecx
lea edx, [ebx + 0xc8]
push edx
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
pop esi
pop ebp
jne 0x426fdc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x426fdc
cmp eax, 0x2733
je 0x426fd3
cmp eax, 8
je 0x426fd3
cmp eax, 0x2747
je 0x426fd3
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x42b0a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
cmp dword [esi + 4], 0xffffffff
mov byte [esi + 0xa8], 1
jne 0x42b0e5
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x42b0e5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
pop esi
xor eax, eax
pop ebp
ret 4
xor eax, eax
test bp, bp
push edi
lea edi, [esi + 0xb8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov word [edi], 2
jbe 0x42b123
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push ebp
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 4]
push 0x10
push edi
push edx
mov word [esi + 0xba], ax
mov dword [esi + 0xbc], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x42b15b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
xor eax, eax
pop ebp
ret 4
call fcn.0042b390
test eax, eax
je 0x42b0de
mov eax, esi
call fcn.0042b3c0
pop esi
mov eax, 1
pop ebp
ret 4
Function at 0x42e1e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f758
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
add esi, 4
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.00430db0
mov edx, dword [esp + 0x10]
test edx, edx
mov ecx, dword [esi + 4]
je 0x42e2ef
cmp edx, esi
jne 0x42e2ef
mov eax, dword [esp + 0x14]
cmp eax, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x42e2b5
cmp eax, dword [edx + 4]
jne 0x42e278
call fcn.00433fc0
mov esi, dword [eax + 0x10]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x42e29e
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x42e2d8
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00434030
int3
Function at 0x42e420
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
add esi, 4
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.00430db0
mov edx, dword [esp + 0x10]
test edx, edx
mov eax, dword [esi + 4]
je 0x42e54f
cmp edx, esi
jne 0x42e54f
mov ebx, dword [esp + 0x14]
cmp ebx, eax
sete al
test al, al
sete al
test al, al
je 0x42e515
cmp ebx, dword [edx + 4]
jne 0x42e4b8
call fcn.00433fc0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x42e4cb
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esp + 0x10]
push ebx
push edx
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00430af0
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x42e4fb
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x42e538
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00434030
int3

Function at 0x430190
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
add esp, 0x24
ret
Function at 0x4306b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e078
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a8228]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x28c]
mov dword [esp + 0x18], edi
call fcn.0042e930
xor ebx, ebx
cmp eax, ebx
je 0x430870
cmp edi, ebx
je 0x430870
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x430870
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x58], ebx
lea esi, [esp + 0x1c]
call fcn.00425cd0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x430748
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00403920
lea ecx, [esp + 0x14]
push ecx
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4307bc
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 0x280
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00461d85
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4307b1
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00403f10
jmp 0x430870
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x43083b
jmp 0x4307d0
mov eax, 6
cmp dword [edi + 0x190], eax
jne 0x430831
cmp dword [edi + 0x1a0], eax
jne 0x430831
lea esi, [edi + 0x1ac]
jmp 0x4307f0
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x4307ff
lea eax, [esp + 0x30]
lea ecx, [esi + 4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430822
cmp dl, bl
je 0x43081e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430822
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x430802
xor eax, eax
jmp 0x430827
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x430892
mov esi, dword [esi]
cmp esi, ebx
jne 0x4307f0
mov edi, dword [edi]
cmp edi, ebx
jne 0x4307d0
mov edi, dword [esp + 0x10]
push edi
call fcn.0046200d
add esp, 4
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x430860
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004628fa
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004626c8
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edi + 0x194]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov cx, word [edi + 0x198]
push edx
mov word [eax + 4], cx
call fcn.0046200d
add esp, 4
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x4308d2
mov eax, dword [esp + 0x30]
push eax
call fcn.004628fa
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov eax, 1
jmp 0x430872
Function at 0x431740
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
lea edi, [esi + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
test ebx, ebx
jne 0x4317d8
mov dword [esp + 0x30], 0xffffffff
test eax, eax
je 0x4317c3
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x1068], 0
lea eax, [ebx + 0x1068]
jne 0x431820
mov ecx, dword [ebx + 0x1050]
movzx eax, word [ecx]
movzx edx, ax
push edx
push str.someone_about_to_free_msg_already_freed______0x_x_
push 0x2000001
call fcn.00430530
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x4317c3
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
jmp 0x4317b8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x43183a
cmp dword [esi + 0x24], eax
jae 0x431847
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0x14]
call fcn.00429480
add dword [esi + 0x38], 0xffffffff
add esi, 0x7c
lea ebx, [ebp + 8]
lea eax, [esp + 0x10]
call fcn.004322c0
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esi + 4]
je 0x4318a7
cmp eax, esi
jne 0x4318a7
mov ecx, dword [esp + 0x14]
cmp ecx, edx
sete dl
test dl, dl
je 0x431888
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
jmp 0x4317ad
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00432000
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0
jmp 0x4317ad
call fcn.00433bc0
int3

Function at 0x439010
Capabilities:
Resolve dns

Disassembly:
push ecx
test esi, esi
jne 0x439019
xor eax, eax
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x439020
sub eax, edx
je 0x439015
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x439057
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x439049
or eax, 0xffffffff
pop ecx
ret
cmp word [eax + 0xa], 4
jne 0x439044
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop ecx
ret
Function at 0x439250
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x4a8228]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [esi + 4], 0
je 0x439286
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004626c8
add esp, 0x198
ret 4
xor ecx, ecx
mov ch, byte [esp + 0x19c]
lea eax, [esp]
push eax
mov cl, bl
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4392d6
mov ax, word [esp]
cmp al, bl
jne 0x4392d0
cmp ah, byte [esp + 0x19c]
jne 0x4392d0
mov eax, 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004626c8
add esp, 0x198
ret 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.004626c8
add esp, 0x198
ret 4
Function at 0x43a8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
test esi, esi
jne 0x43a8e3
pop esi
xor al, al
pop ebp
ret 4
test ebp, ebp
mov dword [ecx + 4], 0xffffffff
jbe 0x43a91a
push edi
mov edi, dword [ecx]
shl edi, 8
movzx edx, byte [esi]
mov eax, dword [ecx + 4]
xor edx, eax
and edx, 0xff
add edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4acfe0]
add esi, 1
sub ebp, 1
mov dword [ecx + 4], eax
jne 0x43a8f4
pop edi
movzx edx, word [ecx + 6]
movzx ecx, word [ecx + 4]
push ebx
mov bl, dh
mov al, ch
add al, bl
pop ebx
add al, dl
pop esi
add al, cl
pop ebp
ret 4

Function at 0x43aa50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48f41d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.IFile.0
xor ebx, ebx
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x24]
lea eax, [esi + 0x30]
push ecx
push eax
mov dword [esp + 0x18], eax
call fcn.0043edf0
mov byte [esp + 0x1c], 2
lea edx, [esi + 0x58]
push edx
call fcn.00438e30
mov byte [esp + 0x1c], 3
or eax, 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x1c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x43aaf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f3cd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.IFile.0
mov dword [esp + 0x1c], 2
call fcn.0043ae20
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x58]
call fcn.00424360
xor ebx, ebx
mov byte [esp + 0x1c], bl
lea eax, [esi + 0x30]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], bl
push eax
call fcn.0043d6a0
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esi + 0x2c], 0x10
jb 0x43ab6c
mov eax, dword [esi + 0x18]
push eax
call fcn.004628fa
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x43b0a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490663
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x58]
lea edi, [ebx + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
xor esi, esi
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
call eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], esi
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0x10]
lea esi, [ebx + 0x30]
push edx
call fcn.0043ee80
mov edx, dword [esp + 0xc]
test edx, edx
mov ecx, dword [ebx + 0x38]
lea eax, [ebx + 0x34]
je 0x43b1ef
cmp edx, eax
jne 0x43b1ef
cmp dword [esp + 0x10], ecx
sete al
test al, al
sete al
test al, al
je 0x43b168
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x43b151
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 4
call fcn.00462993
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x43b187
mov dword [eax], 0
jmp 0x43b189
xor eax, eax
mov byte [esp + 0x38], 0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
mov dword [eax], 0
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x18], ecx
call fcn.0043d740
add dword [ebx + 0x94], 1
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x43b1d9
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004404c0
int3