joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6211c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76a274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 8], 0xffffffff
jne 0x621200
mov ecx, dword [ebp + 8]
call fcn.005fba50
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x90]
call eax
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp + 8]
call fcn.005fb8f0
push eax
mov ecx, dword [ebp + 8]
call fcn.005fb9a0
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x621294
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2734
je 0x621294
cmp dword [ebp - 0x14], 0x2733
je 0x621294
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.005fbbb0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00622d90
add esp, 8
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041c8f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x621790
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x6c], eax
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x6c]
or edx, dword [ebp - 0x68]
je 0x621790
push 2
mov eax, dword [ebp - 0x70]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edx + 0x50]
call eax
movzx ecx, al
test ecx, ecx
jne 0x621790
push 0
lea ecx, [ebp - 0x34]
call fcn.005c98e0
push 0x827c20
lea edx, [ebp - 0x34]
push edx
call fcn.0048d568
mov eax, dword [ebp - 0x70]
cmp dword [eax + 8], 0xffffffff
jne 0x6217b1
push 0
lea ecx, [ebp - 0x64]
call fcn.00605b60
push 0x82c75c
lea ecx, [ebp - 0x64]
push ecx
call fcn.0048d568
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x70]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x6217eb
cmp dword [ebp - 4], 0
jge 0x6217eb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x621790
cmp dword [ebp - 4], 0
jge 0x6217f6
call fcn.00622c90
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x621800
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x621881
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xa0], eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0xa0]
or edx, dword [ebp - 0x9c]
je 0x621881
push 1
mov eax, dword [ebp - 0xa4]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x50]
call eax
movzx ecx, al
test ecx, ecx
jne 0x621881
push 0
lea ecx, [ebp - 0x38]
call fcn.005c98e0
push 0x827c20
lea edx, [ebp - 0x38]
push edx
call fcn.0048d568
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 8], 0xffffffff
jne 0x6218a5
push 0
lea ecx, [ebp - 0x68]
call fcn.00605b60
push 0x82c75c
lea ecx, [ebp - 0x68]
push ecx
call fcn.0048d568
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x6218e5
cmp dword [ebp - 4], 0
jge 0x6218e5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x621881
cmp dword [ebp - 4], 0
jge 0x62194d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2733
jne 0x62190d
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x62190d
jmp 0x62194d
cmp dword [ebp - 8], 0x2733
je 0x62191f
cmp dword [ebp - 8], 0x274c
jne 0x621941
mov edx, dword [ebp - 8]
push edx
lea ecx, [ebp - 0x98]
call fcn.005c98e0
push 0x827c20
lea eax, [ebp - 0x98]
push eax
call fcn.0048d568
jmp 0x62194d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00622d20
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6219f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76a2b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp - 0xd8]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x621a86
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xd4], eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd4]
or edx, dword [ebp - 0xd0]
je 0x621a86
push 1
mov eax, dword [ebp - 0xd8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x50]
call eax
movzx ecx, al
test ecx, ecx
jne 0x621a86
push 0
lea ecx, [ebp - 0x68]
call fcn.005c98e0
push 0x827c20
lea edx, [ebp - 0x68]
push edx
call fcn.0048d568
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x1c
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 8], 0xffffffff
jne 0x621abd
push 0
lea ecx, [ebp - 0x98]
call fcn.00605b60
push 0x82c75c
lea edx, [ebp - 0x98]
push edx
call fcn.0048d568
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xd8]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x621b05
cmp dword [ebp - 0x10], 0
jge 0x621b05
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x621a93
cmp dword [ebp - 0x10], 0
jl 0x621b5a
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.005fb450
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005fb720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.005fb590
jmp 0x621bbc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2733
jne 0x621b7c
mov ecx, dword [ebp - 0xd8]
movzx edx, byte [ecx + 0x20]
test edx, edx
jne 0x621b7c
jmp 0x621bbc
cmp dword [ebp - 0x38], 0x2733
je 0x621b8e
cmp dword [ebp - 0x38], 0x274c
jne 0x621bb0
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0xcc]
call fcn.005c98e0
push 0x827c20
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0048d568
jmp 0x621bbc
mov edx, dword [ebp - 0x38]
push edx
call fcn.00622d20
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x621bd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 8], 0xffffffff
jne 0x621bfa
push 0
lea ecx, [ebp - 0x34]
call fcn.00605b60
push 0x82c75c
lea ecx, [ebp - 0x34]
push ecx
call fcn.0048d568
push 1
push 1
lea edx, [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x621c1d
call fcn.00622c90
mov esp, ebp
pop ebp
ret 4
Function at 0x622360
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
cmp dword [eax + 8], 0xffffffff
jne 0x622391
push 0
lea ecx, [ebp - 0x58]
call fcn.00605b60
push 0x82c75c
lea ecx, [ebp - 0x58]
push ecx
call fcn.0048d568
lea edx, [ebp - 0x28]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x1c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6223dc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.005fb450
mov eax, dword [ebp - 0x5c]
or eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
jmp 0x6223f5
call fcn.00622c90
mov ecx, dword [ebp + 8]
call fcn.005faf30
mov ecx, dword [ebp - 0x5c]
or ecx, 1
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x6225e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 8], 0xffffffff
jne 0x62260a
push 0
lea ecx, [ebp - 0x34]
call fcn.00605b60
push 0x82c75c
lea ecx, [ebp - 0x34]
push ecx
call fcn.0048d568
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x622635
call fcn.00622c90
mov esp, ebp
pop ebp
ret 0x10

Function at 0x622bf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x622c1c
call fcn.00622c90
mov esp, ebp
pop ebp
ret 8
Function at 0x625ef0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76a5d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax + 0x14], 0
sete cl
movzx edx, cl
test edx, edx
je 0x625f3e
mov ecx, dword [ebp + 8]
call fcn.006251a0
mov eax, dword [ebp - 0x54]
or eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
jmp 0x626005
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 0x10
jb 0x625f73
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
jmp 0x625f7c
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x625ff1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, 8
push ecx
lea ecx, [ebp - 0x50]
call fcn.00625230
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
call fcn.00625280
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.006246d0
mov eax, dword [ebp + 8]
jmp 0x626005
mov ecx, dword [ebp + 8]
call fcn.006251a0
mov edx, dword [ebp - 0x54]
or edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x626a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
movzx eax, word [ebp + 8]
test eax, eax
je 0x626adf
movzx ecx, word [ebp + 8]
movzx edx, word [ebp + 8]
sub edx, 1
xor ecx, edx
sar ecx, 1
mov word [ebp + 8], cx
mov dword [ebp - 4], 0
jmp 0x626ac8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
movzx ecx, word [ebp + 8]
test ecx, ecx
je 0x626add
mov dx, word [ebp + 8]
shr dx, 1
mov word [ebp + 8], dx
jmp 0x626abf
jmp 0x626ae5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x66e8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76ef20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0068f480
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.Poco::XML::LexicalHandler.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.Poco::XML::WhitespaceFilter.5.0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], vtable.Poco::XML::WhitespaceFilter.4.0
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], vtable.Poco::XML::WhitespaceFilter.3.0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], vtable.Poco::XML::WhitespaceFilter.2.0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], vtable.Poco::XML::WhitespaceFilter.1.0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x28], vtable.Poco::XML::WhitespaceFilter.0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x19]
mov dword [ebp - 0x18], edx
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0041c8f0
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x4c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x66e990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76ef3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.Poco::XML::WhitespaceFilter.5.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], vtable.Poco::XML::WhitespaceFilter.4.0
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], vtable.Poco::XML::WhitespaceFilter.3.0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], vtable.Poco::XML::WhitespaceFilter.2.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], vtable.Poco::XML::WhitespaceFilter.1.0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x28], vtable.Poco::XML::WhitespaceFilter.0
mov dword [ebp - 4], 1
push 0
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x30
call fcn.0041c8f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.0068f390
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
call fcn.0068f550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x68c370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x770ace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0xa0], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
call edx
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0068cbb0
add esp, 0x18
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 2
push 0
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0068bd70
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.0041c8f0
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.0041c8f0
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041c8f0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], vtable.Poco::XML::SAXParseException.0
mov edx, dword [ebp - 0xa0]
add edx, 0x30
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa0]
add ecx, 0x4c
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x6c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x68c510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x770b17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0xa0], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
call edx
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0068cbb0
add esp, 0x18
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 2
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.0068bdd0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.0041c8f0
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.0041c8f0
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041c8f0
mov edx, dword [ebp - 0xa0]
mov dword [edx], vtable.Poco::XML::SAXParseException.0
mov eax, dword [ebp - 0xa0]
add eax, 0x30
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa0]
add ecx, 0x4c
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x6c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6945e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7711da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
call fcn.006932b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
mov dword [eax], vtable.Poco::XML::Event.0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x7c]
add eax, 0xc
mov dword [ebp - 0x78], eax
push 0
push 0
mov ecx, dword [ebp - 0x78]
call fcn.0041c8f0
mov ecx, dword [0x7d4aa0]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.0041c6d0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x30], 1
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ebp + 0x14]
mov byte [ecx + 0x34], dl
mov eax, dword [ebp - 0x7c]
mov cl, byte [ebp + 0x18]
mov byte [eax + 0x35], cl
mov edx, dword [ebp - 0x7c]
mov byte [edx + 0x36], 0
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x37], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x6cf742
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x6cf773
call fcn.00491c4c
mov dword [eax], esi
call fcn.00491c39
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0048d4c1
add esp, 0x14
push 0x16
pop eax
jmp 0x6cf7c8
test dword [ebp + 0xc], 0xfffffff9
jne 0x6cf74f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6cf7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00491c5f
pop ecx
call fcn.00491c39
mov eax, dword [eax]
jmp 0x6cf7c8
test al, 0x10
jne 0x6cf7c6
test al, 1
je 0x6cf7c6
test byte [ebp + 0xc], 2
je 0x6cf7c6
call fcn.00491c4c
mov dword [eax], 5
call fcn.00491c39
mov dword [eax], 0xd
jmp 0x6cf797
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.004f8d00
add esp, 8
test esi, esi
jg 0x6d2a5e
je 0x6d2a3c
cmp esi, 0xffffffff
jne 0x6d2a5e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
je 0x6d2a53
cmp eax, 0xb
je 0x6d2a53
cmp eax, 0x2733
jne 0x6d2a5e
push 0xa
push edi
call fcn.004f8d20
add esp, 8
pop edi
mov eax, esi
pop esi
ret