joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7ed0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x29c], ax
lea ecx, [ebp - 0x294]
push ecx
movzx edx, word [ebp - 0x29c]
push edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4d7f0e
xor eax, eax
jmp 0x4d7fb1
push 0xff
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004f44c0
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call sub.WS2_32.dll_gethostname
lea edx, [ebp - 0x104]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x4d7f54
xor eax, eax
jmp 0x4d7fb1
push 4
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.004f39c0
add esp, 0xc
movzx eax, byte [ebp - 0x298]
shl eax, 0x18
movzx ecx, byte [ebp - 0x297]
shl ecx, 0x10
add eax, ecx
movzx edx, byte [ebp - 0x296]
shl edx, 8
add eax, edx
movzx ecx, byte [ebp - 0x295]
add eax, ecx
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret
Function at 0x4d8150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51feeb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov dword [eax + 0x590], 0
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 4], 0
jne 0x4d8289
mov dword [ebp - 0xc0], 8
mov dword [ebp - 0xbc], 0x800
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4d8243
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004d7ab0
mov dword [ebp - 0xb0], 0x40030000
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xb0]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004635d0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.00472f80
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004c6450
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00462e50
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call fcn.00472200
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00471320
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4d8304
call fcn.004d7ed0
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x10]
mov dword [edx + 0x588], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x588]
push edx
push 0
push 0x465
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 4
Function at 0x4d83d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8415
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 4]
jne 0x4d8406
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
xor eax, eax
jmp 0x4d848d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 8], eax
jmp 0x4d83e2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x590], 0
jne 0x4d847b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x588
push eax
push 0
push 0x466
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x590], 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
call fcn.004d84c0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ecfa0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x4ed00c.8
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0x4ed0ac]
jmp dword [ecx*4 + 0x4ed0a4]
mov edx, dword [ebp - 0x210]
or edx, 0x100
mov dword [ebp - 0x210], edx
cmp dword [ebp + 0x10], 0
je 0x4ed03c
mov eax, dword [ebp - 0x210]
or eax, 0x1000000
mov dword [ebp - 0x210], eax
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f44c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00471110
mov edx, dword [ebp - 0x218]
or edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ed013
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x4ed00c.8
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0x4ed0ac]
jmp dword [ecx*4 + 0x4ed0a4]
mov edx, dword [ebp - 0x210]
or edx, 0x100
mov dword [ebp - 0x210], edx
cmp dword [ebp + 0x10], 0
je 0x4ed03c
mov eax, dword [ebp - 0x210]
or eax, 0x1000000
mov dword [ebp - 0x210], eax
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f44c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00471110
mov edx, dword [ebp - 0x218]
or edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x509e7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00509cfc

Function at 0x50d3a3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050d063
Function at 0x403c99
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, eax
sub esp, 0x7d0
xor ebx, ebx
push 0xd
push str.urn:publicid:
push eax
call fcn.00433f39
add esp, 0xc
xor edx, edx
test eax, eax
jne 0x403dff
add esi, 0xd
cmp byte [esi], 0
je 0x403de9
cmp ebx, 0x7cc
ja 0x403de9
mov al, byte [esi]
cmp al, 0x2b
jne 0x403ced
mov byte [ebp + ebx - 0x7d8], 0x20
jmp 0x403de2
cmp al, 0x3a
jne 0x403d07
mov byte [ebp + ebx - 0x7d8], 0x2f
inc ebx
mov byte [ebp + ebx - 0x7d8], 0x2f
jmp 0x403de2
cmp al, 0x3b
jne 0x403d21
mov byte [ebp + ebx - 0x7d8], 0x3a
inc ebx
mov byte [ebp + ebx - 0x7d8], 0x3a
jmp 0x403de2
cmp al, 0x25
jne 0x403ddb
mov al, byte [esi + 1]
cmp al, 0x32
jne 0x403d43
cmp byte [esi + 2], 0x42
jne 0x403d5b
mov byte [ebp + ebx - 0x7d8], 0x2b
jmp 0x403dc8
cmp al, 0x33
jne 0x403d57
cmp byte [esi + 2], 0x41
jne 0x403d6f
mov byte [ebp + ebx - 0x7d8], 0x3a
jmp 0x403dc8
cmp al, 0x32
jne 0x403d6b
cmp byte [esi + 2], 0x46
jne 0x403d83
mov byte [ebp + ebx - 0x7d8], 0x2f
jmp 0x403dc8
cmp al, 0x33
jne 0x403d7f
cmp byte [esi + 2], 0x42
jne 0x403d97
mov byte [ebp + ebx - 0x7d8], 0x3b
jmp 0x403dc8
cmp al, 0x32
jne 0x403d93
cmp byte [esi + 2], 0x37
jne 0x403dab
mov byte [ebp + ebx - 0x7d8], 0x27
jmp 0x403dc8
cmp al, 0x33
jne 0x403da7
cmp byte [esi + 2], 0x46
jne 0x403dd1
mov byte [ebp + ebx - 0x7d8], 0x3f
jmp 0x403dc8
cmp al, 0x32
jne 0x403dd1
mov al, byte [esi + 2]
cmp al, 0x33
jne 0x403dbc
mov byte [ebp + ebx - 0x7d8], 0x23
jmp 0x403dc8
cmp al, 0x35
jne 0x403dd1
mov byte [ebp + ebx - 0x7d8], 0x25
inc ebx
add esi, 3
jmp 0x403cc5
mov byte [ebp + ebx - 0x7d8], 0x25
jmp 0x403de2
mov byte [ebp + ebx - 0x7d8], al
inc ebx
inc esi
jmp 0x403cc5
lea eax, [ebp - 0x7d8]
mov byte [ebx + ebp - 0x7d8], 0
push eax
call fcn.00433dc4
mov edx, eax
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret

Function at 0x403f24
Capabilities:
Read file on windows

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, eax
test eax, eax
je 0x403fa1
lea eax, [ebp - 0x3c]
push eax
push ebx
call sub.msvcrt.dll__stat_1
pop ecx
xor edx, edx
pop esi
test eax, eax
js 0x403fa1
push 0
push ebx
call sub.msvcrt.dll__open
mov edi, eax
pop eax
pop edx
xor edx, edx
test edi, edi
js 0x403fa1
mov esi, dword [ebp - 0x28]
lea eax, [esi + 0xa]
push eax
call dword [0x58b638]
mov ebx, eax
pop eax
test ebx, ebx
jne 0x403f79
mov eax, str.allocating_catalog_data
call fcn.00403424
jmp 0x403f91
push esi
push ebx
push edi
call sub.msvcrt.dll__read
add esp, 0xc
mov esi, eax
test eax, eax
jns 0x403f95
push ebx
call dword [0x58b640]
xor edx, edx
jmp 0x403fa1
push edi
call sub.msvcrt.dll__close
mov byte [esi + ebx], 0
mov edx, ebx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406494
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push edi
cmp dword [0x621030], 0
jne 0x4065be
call fcn.00406459
push dword [0x621060]
call fcn.00449a78
push str.XML_DEBUG_CATALOG
call sub.msvcrt.dll_getenv
pop ebx
test eax, eax
pop esi
je 0x4064d2
mov dword [0x621040], 1
cmp dword [0x621020], 0
jne 0x4065b3
push str.XML_CATALOG_FILES
call sub.msvcrt.dll_getenv
pop ecx
mov ebx, eax
test eax, eax
jne 0x4064f5
mov ebx, str.file:___etc_xml_catalog
mov edx, dword [section..data]
mov eax, 1
call fcn.00403794
mov edi, eax
test eax, eax
je 0x4065b3
lea eax, [eax + 0x3c]
mov dword [ebp - 0x10], eax
cmp byte [ebx], 0
je 0x4065ad
mov cl, byte [ebx]
cmp cl, 0x20
lea eax, [ecx - 9]
sete dl
cmp al, 1
setbe al
or eax, edx
test al, 1
jne 0x406539
cmp cl, 0xd
jne 0x40653c
inc ebx
jmp 0x40651e
mov cl, byte [ebx]
test cl, cl
je 0x4065ad
mov esi, ebx
jmp 0x406552
cmp cl, 0xd
je 0x406567
inc ebx
mov cl, byte [ebx]
test cl, cl
je 0x406567
lea eax, [ecx - 9]
cmp cl, 0x20
setne dl
cmp al, 1
seta al
movzx eax, al
test eax, edx
jne 0x406546
mov eax, ebx
sub eax, esi
push eax
push esi
call fcn.00433d70
mov esi, eax
pop eax
test esi, esi
pop edx
je 0x406515
push 0
xor edx, edx
push dword [section..data]
mov eax, 1
push esi
push 0
call fcn.00403588
mov edx, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
mov dword [edx], eax
je 0x4065a0
mov dword [ebp - 0x10], eax
push esi
call dword [0x58b640]
pop esi
jmp 0x406515
mov dword [0x621020], edi
push dword [0x621060]
call fcn.00449a7d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x410d49
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
or eax, 0xffffffff
push ebx
test edx, edx
push ebx
mov dword [ebp - 0x10], edx
je 0x410f20
mov esi, dword [edx]
jmp 0x410d6f
cmp byte [esi], 0x25
jne 0x410d6e
add esi, 3
jmp 0x410d6f
inc esi
mov cl, byte [esi]
lea eax, [ecx - 0x61]
cmp al, 0x19
lea eax, [ecx - 0x41]
setbe dl
cmp al, 0x19
setbe al
or eax, edx
test al, 1
jne 0x410d64
lea eax, [ecx - 0x30]
cmp al, 9
jbe 0x410d64
cmp cl, 0x2d
sete dl
cmp cl, 0x5f
sete al
or eax, edx
test al, 1
jne 0x410d64
cmp cl, 0x2e
je 0x410d64
cmp cl, 0x21
je 0x410d64
cmp cl, 0x7e
je 0x410d64
cmp cl, 0x2a
je 0x410d64
cmp cl, 0x27
je 0x410d64
cmp cl, 0x28
je 0x410d64
cmp cl, 0x29
je 0x410d64
cmp cl, 0x25
jne 0x410e10
mov bl, byte [esi + 1]
lea eax, [ebx - 0x30]
cmp al, 9
lea eax, [ebx - 0x61]
setbe dl
cmp al, 5
setbe al
or eax, edx
test al, 1
jne 0x410de8
lea eax, [ebx - 0x41]
cmp al, 5
ja 0x410e10
mov bl, byte [esi + 2]
lea eax, [ebx - 0x30]
cmp al, 9
lea eax, [ebx - 0x61]
setbe dl
cmp al, 5
setbe al
or eax, edx
test al, 1
jne 0x410d64
lea eax, [ebx - 0x41]
cmp al, 5
jbe 0x410d64
cmp cl, 0x3b
sete dl
cmp cl, 0x2f
sete al
or eax, edx
test al, 1
jne 0x410d64
cmp cl, 0x3f
je 0x410d64
cmp cl, 0x3a
je 0x410d64
cmp cl, 0x40
je 0x410d64
cmp cl, 0x26
je 0x410d64
cmp cl, 0x3d
je 0x410d64
cmp cl, 0x2b
je 0x410d64
cmp cl, 0x24
je 0x410d64
cmp cl, 0x2c
je 0x410d64
cmp cl, 0x5b
je 0x410d64
cmp cl, 0x5d
je 0x410d64
test edi, edi
je 0x410f19
test byte [edi + 0x24], 1
je 0x410eda
cmp cl, 0x7b
sete dl
cmp cl, 0x7d
sete al
or eax, edx
test al, 1
jne 0x410d64
cmp cl, 0x7c
je 0x410d64
cmp cl, 0x5c
je 0x410d64
cmp cl, 0x5e
je 0x410d64
cmp cl, 0x5b
je 0x410d64
cmp cl, 0x5d
je 0x410d64
cmp cl, 0x60
je 0x410d64
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x410ee9
push eax
call dword [0x58b640]
pop ecx
mov eax, dword [ebp - 0x10]
test byte [edi + 0x24], 2
mov edx, dword [eax]
je 0x410f06
mov eax, esi
sub eax, edx
push eax
push edx
call fcn.00433d70
mov dword [edi + 0x1c], eax
pop eax
pop edx
jmp 0x410f19
mov eax, esi
push 0
sub eax, edx
push eax
push edx
call fcn.00410a8b
add esp, 0xc
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4183a7
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x25
jne 0x41853a
push ebx
call fcn.00434cf3
push ebx
call fcn.00417d93
mov edi, eax
pop eax
test edi, edi
pop edx
jne 0x4183ed
mov dword [ebp + 8], str.xmlParsePEReference:_no_name_n
mov eax, ebx
lea esp, [ebp - 0xc]
mov edx, 0x44
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00413393
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3b
jne 0x418520
push ebx
call fcn.00434cf3
pop eax
mov eax, dword [ebx]
test eax, eax
je 0x41841e
cmp dword [eax + 0x60], 0
je 0x41841e
push edi
push dword [ebx + 4]
call dword [eax + 0x60]
pop ecx
mov esi, eax
pop eax
test esi, esi
jne 0x418461
cmp dword [ebx + 0x1c], 1
je 0x418430
cmp dword [ebx + 0x58], 0
jne 0x418444
cmp dword [ebx + 0x5c], 0
jne 0x418444
mov edx, 0x1a
mov eax, ebx
push edi
push str.PEReference:____s__not_found_n
call fcn.004135bc
jmp 0x4184a4
mov edx, 0x1b
mov eax, ebx
push 0
push edi
push str.PEReference:____s__not_found_n
call fcn.004133fc
mov dword [ebx + 0x64], 0
jmp 0x418480
mov eax, dword [esi + 0x30]
sub eax, 4
cmp eax, 1
jbe 0x418488
mov edx, 0x1b
mov eax, ebx
push 0
push edi
push str.Internal:____s__is_not_a_parameter_entity_n
call fcn.004133fc
add esp, 0xc
jmp 0x418517
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x28], 0x413f7f
je 0x4184a8
mov edx, esi
mov eax, ebx
call fcn.00413f8b
push eax
push ebx
call fcn.00413eee
pop eax
pop edx
jmp 0x418517
push esi
push ebx
call fcn.00435a43
push eax
push ebx
call fcn.00413eee
add esp, 0x10
cmp dword [esi + 0x30], 5
jne 0x418517
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x418517
cmp byte [eax + 1], 0x3f
jne 0x418517
cmp byte [eax + 2], 0x78
jne 0x418517
cmp byte [eax + 3], 0x6d
jne 0x418517
cmp byte [eax + 4], 0x6c
jne 0x418517
mov cl, byte [eax + 5]
cmp cl, 0x20
lea eax, [ecx - 9]
sete dl
cmp al, 1
setbe al
or eax, edx
test al, 1
jne 0x4184fe
cmp cl, 0xd
jne 0x418517
push ebx
call fcn.00415879
pop edi
cmp dword [ebx + 0x54], 0x20
jne 0x418517
mov dword [ebx + 0xac], 0xffffffff
jmp 0x41853a
mov dword [ebx + 0x5c], 1
jmp 0x41853a
mov dword [ebp + 8], 0
mov eax, ebx
lea esp, [ebp - 0xc]
mov edx, 0x17
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00413119
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42e5d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
test esi, esi
je 0x42e621
test eax, eax
je 0x42e621
push 0
push edx
push eax
call fcn.0043276e
add esp, 0xc
test eax, eax
je 0x42e621
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
mov edx, eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042df1d
lea esp, [ebp - 0xc]
or eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x42e905
Capabilities:
Query environment variable

Disassembly:
push ebp
or eax, 0xffffffff
mov ebp, esp
cmp dword [0x6218b8], 0
jne 0x42e96e
mov dword [0x6218b8], 1
call fcn.00449a30
push str.XML_MEM_BREAKPOINT
mov dword [0x6218a8], eax
call sub.msvcrt.dll_getenv
pop edx
test eax, eax
je 0x42e94a
push 0x6218d8
push 0x5e11b1
push eax
call sub.msvcrt.dll_sscanf
add esp, 0xc
push str.XML_MEM_TRACE
call sub.msvcrt.dll_getenv
pop ecx
test eax, eax
je 0x42e96c
push 0x6218c8
push 0x5e11c3
push eax
call sub.msvcrt.dll_sscanf
add esp, 0xc
xor eax, eax
leave
ret
Function at 0x47d1b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, edx
mov dword [ebp - 0x10], eax
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
test byte [edx + 0x20], 1
je 0x47d209
mov eax, dword [edx + 0xc]
test eax, eax
je 0x47d1f1
push eax
call dword [0x58b640]
mov dword [edi + 0xc], 0
pop ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x47d217
push eax
call dword [0x58b640]
pop edx
mov dword [edi + 0x10], 0
jmp 0x47d217
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
test byte [edi + 0x20], 2
je 0x47d235
mov eax, dword [edi + 0x14]
test eax, eax
je 0x47d23c
push eax
call dword [0x58b640]
pop eax
mov dword [edi + 0x14], 0
jmp 0x47d23c
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47d251
push eax
call fcn.00459623
mov dword [edi + 0x18], 0
pop eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47d30c
mov esi, eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x18], 0
je 0x47d290
xor ebx, ebx
cmp ebx, dword [esi + 0x1c]
jge 0x47d290
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x47d28d
push eax
call dword [0x58b640]
pop eax
mov eax, dword [esi + 0x18]
mov dword [eax + ebx*4], 0
inc ebx
jmp 0x47d26c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x47d2e0
cmp dword [esi + 0x14], 0x18
jne 0x47d2d1
mov dword [ebp - 0x18], 0
xor edx, edx
cmp edx, dword [eax + 4]
jge 0x47d2d1
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax + edx*4]
push dword [ebx + 4]
call dword [0x58b640]
mov dword [esp], ebx
call dword [0x58b640]
inc dword [ebp - 0x18]
pop eax
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x20]
jmp 0x47d2a6
mov eax, dword [esi + 0x20]
call fcn.00471be2
mov dword [esi + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [esi + 8], 0
mov eax, dword [edx + 0x78]
test eax, eax
je 0x47d2f4
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], esi
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x47d25e
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x34]
test eax, eax
je 0x47d329
mov ebx, eax
mov eax, ebx
mov ebx, dword [ebx]
call fcn.0047c3c7
test ebx, ebx
jne 0x47d315
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x47d33e
push eax
call fcn.00469c87
mov dword [edi + 0x3c], 0
pop eax
mov eax, dword [edi + 0x40]
test eax, eax
je 0x47d362
push eax
call dword [0x58b640]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
pop eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x48b8c6
Capabilities:
Initialize winsock library
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp dword [0x622278], 0
jne 0x48b949
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.WS2_32.DLL_WSAStartup
test eax, eax
jne 0x48b949
cmp dword [0x622268], 0
jne 0x48b93f
push 0x5fad63
mov dword [0x622288], 0x50
call sub.msvcrt.dll_getenv
pop edx
test eax, eax
je 0x48b91a
cmp byte [eax], 0x2a
jne 0x48b91a
cmp byte [eax + 1], 0
je 0x48b93f
push str.http_proxy
call sub.msvcrt.dll_getenv
pop ecx
test eax, eax
jne 0x48b938
push str.HTTP_PROXY
call sub.msvcrt.dll_getenv
pop edx
test eax, eax
je 0x48b93f
push eax
call fcn.0048b824
pop eax
mov dword [0x622278], 1
leave
ret

Function at 0x48bb60
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
xor eax, eax
sub esp, 0x11c
xor ebx, ebx
test edx, edx
mov dword [ebp - 0x128], edx
setne al
mov edi, dword [ebp + 8]
test dword [esi + 0x18], eax
je 0x48bc2a
cmp ebx, edi
jge 0x48bc2a
mov eax, edi
push 0
sub eax, ebx
push eax
mov eax, dword [ebp - 0x128]
add eax, ebx
push eax
push dword [esi + 0x14]
call sub.WS2_32.DLL_send
test eax, eax
jle 0x48bbb1
add ebx, eax
jmp 0x48bb89
inc eax
jne 0x48bbe4
call fcn.0048b7e3
cmp eax, 0xb
je 0x48bbe4
call fcn.0048b7e3
cmp eax, 0x2733
je 0x48bbe4
push str.send_failed_n
push 0
push 0xa
call fcn.0043155c
add esp, 0xc
test ebx, ebx
jne 0x48bc2a
or ebx, 0xffffffff
jmp 0x48bc2a
mov eax, dword [0x58b860]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], eax
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x124]
mov dword [ebp - 0x118], edx
push eax
inc edx
lea eax, [ebp - 0x11c]
push 0
mov dword [ebp - 0x11c], 1
push eax
push 0
push edx
call sub.WS2_32.DLL_select
jmp 0x48bb89
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret