joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4861a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61436c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.ZrulElectricalNet.0
mov eax, dword [esi + 0x3c]
xor ebx, ebx
mov dword [esp + 0x20], 8
test eax, eax
jle 0x486231
xor eax, eax
mov ecx, dword [esi + 0x40]
mov ebp, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
test ebp, ebp
je 0x486226
mov eax, dword [ebp + 8]
test eax, eax
jne 0x486213
mov edi, dword [ebp + 4]
and edi, 0x7f
call fcn.004fe0e0
mov eax, dword [eax + edi*4 - 4]
push ebp
mov ecx, eax
call fcn.004fd530
test eax, eax
je 0x486226
mov edx, 0xffff
add word [eax + 0x8e], dx
mov ecx, eax
call fcn.004fed00
mov ecx, dword [esi + 0x3c]
inc ebx
movzx eax, bx
cmp eax, ecx
jl 0x4861e4
mov ecx, esi
call fcn.004f22f0
mov ecx, esi
call fcn.004855a0
mov edi, dword [esi + 0x44]
lea ebp, [esi + 0x44]
test edi, edi
jge 0x486285
cmp edi, 0x100
jle 0x486258
mov edi, 0x100
jmp 0x486261
test edi, edi
jg 0x486261
mov edi, 1
mov ebx, dword [ebp + 8]
push ebp
call fcn.004fe8d0
mov edx, dword [eax]
mov edx, dword [edx + 4]
add esp, 4
lea ecx, [edi*4]
push ecx
push ebx
mov ecx, eax
call edx
mov dword [ebp + 8], eax
mov dword [ebp], edi
mov eax, dword [ebp + 4]
test eax, eax
jge 0x4862a5
lea ecx, [eax*4]
mov eax, dword [ebp + 8]
add eax, ecx
je 0x4862a0
mov dword [eax], 0
add ecx, 4
js 0x486293
lea ecx, [esi + 0xa0]
mov dword [ebp + 4], 0
mov byte [esp + 0x20], 7
call fcn.004ed1b0
mov eax, dword [esi + 0x9c]
mov byte [esp + 0x20], 6
test eax, eax
je 0x4862ed
mov edi, dword [eax + 4]
and edi, 0x7f
call fcn.004fe0e0
mov edi, dword [eax + edi*4 - 4]
mov eax, dword [esi + 0x9c]
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 4]
push eax
push edi
call fcn.005045b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x20], 5
call fcn.004f2560
lea ecx, [esi + 0x88]
mov byte [esp + 0x20], 4
call fcn.004f2560
mov eax, dword [esi + 0x78]
mov byte [esp + 0x20], 3
test eax, eax
je 0x486338
mov edi, dword [eax + 4]
and edi, 0x7f
call fcn.004fe0e0
mov edi, dword [eax + edi*4 - 4]
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 4]
push eax
push edi
call fcn.005045b0
mov ecx, ebp
mov byte [esp + 0x20], 2
call fcn.0044f040
lea ecx, [esi + 0x38]
mov byte [esp + 0x20], 1
call fcn.0044f040
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 0
call fcn.004f2560
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.004f2190
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x48eb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x614c04
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.ZrulEnetGrp.0
mov dword [esp + 0x14], 4
call fcn.004f22f0
mov ecx, esi
call fcn.0048e8f0
mov ecx, esi
call fcn.0048e750
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 3
call fcn.004ed1b0
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.0044f040
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004f2560
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.0044f040
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004f2190
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x48f580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x614d69
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004fea60
push 0x4750c0
push fcn.005eb500
push 2
push 4
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x30], 0
mov dword [esi], vtable.ZrulEnetDiffpairrouting.0
call fcn.005f6257
lea ebx, [esi + 0x14]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.004f2c40
push esi
mov ecx, ebx
mov byte [esp + 0x20], 2
call fcn.004f32c0
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.004750f0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x10]
call fcn.004750f0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x48f6a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x614e09
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004fea60
push 0x4750c0
push fcn.005eb500
push 2
push 4
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x30], 0
mov dword [esi], vtable.ZrulEnetDiffpinpair.0
call fcn.005f6257
lea ebx, [esi + 0x18]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.004f2c40
push esi
mov ecx, ebx
mov byte [esp + 0x20], 2
call fcn.004f32c0
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.004750f0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x10]
call fcn.004750f0
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4922d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61515b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.ZrulEnetPair.0
mov dword [esp + 0x20], 8
call fcn.004f22f0
mov ecx, esi
call fcn.00490b50
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.0044f040
mov ecx, esi
call fcn.00490dd0
lea ebp, [esi + 0x28]
mov ecx, ebp
call fcn.0044f040
mov ecx, esi
call fcn.004914d0
lea ecx, [esi + 0x6c]
call fcn.0044f040
lea ecx, [esi + 0x7c]
mov byte [esp + 0x20], 7
call fcn.004ed1b0
mov eax, dword [esi + 0x78]
mov byte [esp + 0x20], 6
test eax, eax
je 0x492377
mov edi, dword [eax + 4]
and edi, 0x7f
call fcn.004fe0e0
mov edi, dword [eax + edi*4 - 4]
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 4]
push eax
push edi
call fcn.005045b0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x20], 5
call fcn.0044f040
lea ecx, [esi + 0x34]
mov byte [esp + 0x20], 4
call fcn.004f2560
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.0044f040
mov ecx, ebx
mov byte [esp + 0x20], 2
call fcn.0044f040
lea ecx, [esi + 0x14]
mov byte [esp + 0x20], 1
call fcn.004f2560
push 0x4750c0
push 2
push 4
lea eax, [esi + 0xc]
push eax
mov byte [esp + 0x30], 0
call fcn.005f61f4
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.004f2190
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4ae430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6166b9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [ecx + 0x34]
add ecx, 0x2c
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0
call fcn.00517610
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov dword [esp + 0x3c], 1
call fcn.00516d70
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x3c], 2
call fcn.00517aa0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 1
call fcn.004ed1b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00516d60
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4
Function at 0x4c6110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6166b9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [ecx + 0x30]
add ecx, 0x28
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0
call fcn.00517610
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov dword [esp + 0x3c], 1
call fcn.00516d70
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x3c], 2
call fcn.00517aa0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 1
call fcn.004ed1b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00516d60
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x619ee3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
push eax
call fcn.004ff2b0
xor eax, eax
mov dword [esi], vtable.ZlayDatabase.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
lea edi, [esi + 0x68]
mov dword [esi + 0x60], eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi + 0x64], eax
call fcn.005e8490
xor ecx, ecx
xor edx, edx
mov byte [esp + 0x18], 1
mov dword [esi + 0x74], 0
mov word [esi + 0x78], cx
mov word [esi + 0x7a], dx
call fcn.005ee740
test eax, eax
jne 0x4ef265
mov eax, 0x62dc24
push eax
mov ecx, edi
call fcn.005e8ed0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004ef0f0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4ef2f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x619ee3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x20]
setne al
movzx ecx, al
push ecx
push edx
mov ecx, esi
call fcn.004ff2f0
xor eax, eax
mov dword [esi], vtable.ZlayDatabase.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
lea edi, [esi + 0x68]
mov dword [esi + 0x60], eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi + 0x64], eax
call fcn.005e8490
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x18], 1
mov dword [esi + 0x74], 0
mov word [esi + 0x78], ax
mov word [esi + 0x7a], cx
call fcn.005ee740
test eax, eax
jne 0x4ef3b3
mov eax, 0x62dc24
push eax
mov ecx, edi
call fcn.005e8ed0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004ef0f0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4f02a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61b198
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x18]
xor ebp, ebp
call fcn.00506df0
push 0x3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.004fee70
push eax
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
cmp eax, ebp
jne 0x4f0301
lea ecx, [esp + 0x1c]
call fcn.004fee70
jmp 0x4f0302
inc eax
cmp dword [esp + 0x48], ebp
je 0x4f0337
push eax
call fcn.005e9430
add esp, 4
test eax, eax
jne 0x4f0337
push 0x4e6d
call fcn.00526f80
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00506120
xor eax, eax
jmp 0x4f03b6
cmp word [esi + 0x78], bp
jne 0x4f0396
xor eax, eax
cmp dword [esp + 0x3c], ebp
mov ecx, esi
sete al
mov edi, eax
push edi
push ebx
call dword [esp + 0x48]
test eax, eax
je 0x4f038f
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.004ef420
test eax, eax
je 0x4f0379
mov eax, 1
mov dword [esi + 0x74], edi
mov word [esi + 0x78], ax
mov ebp, eax
jmp 0x4f03a3
push 1
mov ecx, esi
call fcn.004ff3d0
movzx ecx, al
push ecx
mov ecx, esi
call fcn.004ff380
jmp 0x4f03a3
call fcn.004eed10
jmp 0x4f03a3
push 0x4e31
call fcn.00526f80
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00506120
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
Function at 0x4fdc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0xc]
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x4fdde5
mov edx, eax
shr edx, 1
test dl, 1
je 0x4fdcd9
and eax, 0xfffffffc
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
jmp 0x4fdde5
mov ecx, dword [esi]
mov edi, dword [esi + 8]
shr ecx, 1
mov dword [esp + 0x14], edi
cmp ecx, 0x7fffffff
jne 0x4fdcef
or ecx, 0xffffffff
mov eax, dword [esi + 4]
push 0
push ecx
shr eax, 7
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.0050be60
mov edx, dword [esp + 0x18]
push 4
lea eax, [esp + 0x44]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call eax
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.00502ec0
mov ecx, dword [esp + 0x4c]
mov eax, ecx
shr eax, 0x13
shl eax, 4
xor eax, dword [esi + 0xc]
and ecx, 0x7ffff
and eax, 0x1fff0
xor dword [esi + 0xc], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ebx, ecx
add esp, 0xc
mov ecx, edi
call eax
mov ecx, edi
cmp ebx, eax
jne 0x4fddb7
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 8]
push eax
call fcn.00502000
test byte [edi + 8], 1
mov ebx, eax
je 0x4fdd85
mov ebp, dword [ebp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004fda40
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
and dword [esi + 0xc], 0xfffffffe
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edi
call edx
add esp, 8
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0050bf80
mov eax, esi
jmp 0x4fdde7
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
and dword [esi + 0xc], 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esi + 8], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0050bf80
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4ff5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61af51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0
call fcn.004fee50
lea eax, [esp + 0x20]
push eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x34], 1
call fcn.004ff510
add esp, 4
push 0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.004ff1a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 4
call fcn.004fef50
push 0x62e5ac
lea ecx, [esp + 0x14]
call fcn.004fef80
mov ecx, ebx
call fcn.004fee70
push eax
lea ecx, [esp + 0x14]
call fcn.004fef80
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004fef80
push 0
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004ff1a0
mov eax, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], al
call fcn.004fef50
mov ecx, ebx
mov byte [esp + 0x30], 0
call fcn.004fef50
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x502770
Capabilities:
Get hostname

Disassembly:
mov ecx, dword [0x67e8e0]
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x5027bf
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x5027bf
push esi
push edi
lea eax, [esp + 0x10]
push str._ENTERING__PzGetHostName_buff_p__size_u_
push eax
mov dword [esp + 0x18], str..._xutil.cpp
mov dword [esp + 0x1c], 0x24d
mov dword [esp + 0x20], 0x14
call fcn.005090f0
add esp, 0x10
push esi
push edi
call sub.WSOCK32.dll_gethostname
mov ecx, dword [0x67e8e0]
mov esi, eax
test ecx, ecx
je 0x502813
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x502813
test edi, edi
jne 0x5027e7
mov edi, str._null_
push esi
push edi
lea ecx, [esp + 0x10]
push str._EXITING__PzGetHostName_buff_s_:__d
push ecx
mov dword [esp + 0x18], str..._xutil.cpp
mov dword [esp + 0x1c], 0x251
mov dword [esp + 0x20], 0x28
call fcn.005090f0
add esp, 0x10
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x502f90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x67e8e0]
sub esp, 0x10
test ecx, ecx
je 0x502fd5
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x502fd5
push esi
push edi
lea eax, [esp + 8]
push str._ENTERING__member_copy__src_p__dst_p_
push eax
mov dword [esp + 0x10], str..._util.cpp
mov dword [esp + 0x14], 0x6c
mov dword [esp + 0x18], 0x14
call fcn.005090f0
add esp, 0x10
mov ecx, dword [edi]
mov dword [esi], ecx
movzx edx, word [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x18], ecx
movzx edx, word [edi + 6]
mov word [esi + 0x1c], dx
mov ax, word [edi + 8]
mov word [esi + 0x1e], ax
mov cx, word [edi + 0xa]
mov word [esi + 0x20], cx
movzx edx, word [edi + 0xc]
mov word [esi + 0x22], dx
mov ecx, dword [0x67e8e0]
test ecx, ecx
je 0x50305d
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x50305d
lea eax, [esp]
push str._EXITING__member_copy__
push eax
mov dword [esp + 8], str..._util.cpp
mov dword [esp + 0xc], 0x7a
mov dword [esp + 0x10], 0x28
call fcn.005090f0
add esp, 8
add esp, 0x10
ret
Function at 0x505f50
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov ecx, dword [0x67e8e0]
sub esp, 0x10
test ecx, ecx
je 0x505f9f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x505f9f
mov eax, edi
test edi, edi
jne 0x505f74
mov eax, str._null_
push eax
lea eax, [esp + 4]
push str._ENTERING__GetInAddr_name_s_
push eax
mov dword [esp + 0xc], str..._xpathmake.cpp
mov dword [esp + 0x10], 0x33b
mov dword [esp + 0x14], 0x14
call fcn.005090f0
add esp, 0xc
push esi
push edi
call sub.WSOCK32.dll_inet_addr
mov esi, eax
cmp esi, 0xffffffff
jne 0x505fbe
push edi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x505fbe
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov esi, dword [edx]
mov ecx, dword [0x67e8e0]
test ecx, ecx
je 0x505fff
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x505fff
push esi
lea eax, [esp + 8]
push str._EXITING__GetInAddr__:__x
push eax
mov dword [esp + 0x10], str..._xpathmake.cpp
mov dword [esp + 0x14], 0x365
mov dword [esp + 0x18], 0x28
call fcn.005090f0
add esp, 0xc
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x506ad0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x61b88b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
push edi
call fcn.004fee50
mov dword [esp + 0x28], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov ecx, dword [0x67e8e0]
mov byte [esp + 0x28], 1
cmp ecx, edi
je 0x506b55
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x506b55
lea eax, [esp + 0x10]
push str._ENTERING__PzExtServerRepl::PzExtServerRepl__
push eax
mov dword [esp + 0x18], str..._xpathmake.cpp
mov dword [esp + 0x1c], 0x375
mov dword [esp + 0x20], 0x14
call fcn.005090f0
add esp, 8
push str.ZDEFAULT_SERVER
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
cmp eax, edi
je 0x506b96
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.004ff1d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.004fee70
push eax
mov ecx, esi
call fcn.00506860
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004fef50
mov ecx, dword [0x67e8e0]
cmp ecx, edi
je 0x506bd6
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x506bd6
lea ecx, [esp + 0x10]
push str._EXITING__PzExtServerRepl::PzExtServerRepl__
push ecx
mov dword [esp + 0x18], str..._xpathmake.cpp
mov dword [esp + 0x1c], 0x37c
mov dword [esp + 0x20], 0x28
call fcn.005090f0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret