joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cdd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a85c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4b1e58
mov dword [esi + 0x30], 0x4b1e50
mov dword [esp + 0x18], 7
call fcn.0040d5a0
lea edi, [esi + 0x4c]
push 0xa
mov ecx, edi
call fcn.0040a760
mov ecx, esi
call fcn.00422af0
push 0xa
mov ecx, edi
call fcn.0040a770
lea ebx, [esi + 0x68]
mov ecx, ebx
call fcn.00425410
mov eax, dword [esi + 0x34]
test eax, eax
je 0x42ce44
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xd0]
sub eax, 0x10
mov byte [esp + 0x18], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 5
call fcn.0040a740
mov eax, dword [esi + 0xac]
sub eax, 0x10
mov byte [esp + 0x18], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0xa8]
sub eax, 0x10
mov byte [esp + 0x18], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cec3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, ebx
mov byte [esp + 0x18], 2
call fcn.0042c620
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.0040a740
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [esi + 0x38], 0x4b1ab4
je 0x42cef2
push eax
call fcn.004955bc
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0040d8f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42d107
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a86a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040d9e0
xor edi, edi
mov dword [esi], 0x4b1eb0
mov ebx, 0x4b1ac0
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], 0x4b1acc
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], 2
call fcn.0042cce0
mov byte [esp + 0x18], 3
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x134], eax
lea ecx, [esi + 0x138]
mov byte [esp + 0x18], 4
call fcn.004944d7
mov byte [esp + 0x18], 5
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14c], eax
lea ecx, [esi + 0x150]
mov byte [esp + 0x18], 6
call fcn.0040a720
lea ecx, [esi + 0x16c]
mov byte [esp + 0x18], 7
call fcn.0040a720
lea ecx, [esi + 0x188]
mov byte [esp + 0x18], 8
call fcn.0040a720
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x18], 9
call fcn.0040a720
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], edi
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x1f0], edi
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x18], 0xd
call fcn.0040a720
push str.ShutDowningofDownloadVideo
push edi
push edi
push edi
mov dword [esi + 0x21c], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x218], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42e000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8831
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x81
mov dword [esp + 0x14], esi
call fcn.004956cf
lea edi, [esi + 0x74]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
mov dword [esi], 0x4b23e8
mov dword [esi + 0x70], 0x4b23bc
call fcn.00496aea
mov dword [edi], vtable.CProgressCtrl.0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x18], 1
call fcn.0040a720
lea edi, [esi + 0xe0]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0040d9e0
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
mov dword [edi + 0x3c], 1
mov dword [edi], 0x4b23b4
mov dword [edi + 0x40], ebp
mov dword [edi + 0x44], ebp
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x12c], eax
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 0x10
mov dword [esi + 0x130], eax
mov dword [esi + 0x128], ebp
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x431bc0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x431c08
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431be5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
ret 8
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [ebx - 0x10]
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x431d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x1c], 0
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push 0x4ae7a8
push ecx
mov byte [esp + 0x28], 1
call fcn.004022f0
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push esi
call fcn.004015e0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push edi
mov byte [esp + 0x2c], 2
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x28], 1
call fcn.00473e00
mov ebx, eax
mov byte [esp + 0x1c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431dfb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x1c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431e1a
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0xc
Function at 0x431e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x1c], 0
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push 0x4af09c
push ecx
mov byte [esp + 0x28], 1
call fcn.004022f0
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push esi
call fcn.004015e0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push edi
mov byte [esp + 0x2c], 2
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x28], 1
call fcn.00473e00
mov ebx, eax
mov byte [esp + 0x1c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431efb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x1c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431f1a
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0xc
Function at 0x432d40
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4a8f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, 1
push esi
mov edi, ecx
xor ebp, ebp
call fcn.00496d96
mov eax, dword [edi + 0x84]
push ebp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4b36ec
call fcn.00404200
mov ecx, 0x4d3364
call fcn.00431e40
test eax, eax
je 0x432daa
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00497545
mov dword [eax + 0x344], esi
mov ebp, esi
mov edx, dword [edi + 0x8c]
push 0
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LimitSize
call fcn.00404200
mov ecx, 0x4d3364
call fcn.00431e40
test eax, eax
je 0x432de5
mov eax, dword [edi + 0x8c]
mov dword [0x4d2df8], eax
mov dword [0x4d2e18], esi
mov ebp, esi
mov eax, dword [edi + 0x88]
push 0
push ecx
lea esi, [edi + 0x88]
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov ebx, esp
push eax
call fcn.004015e0
add eax, 0x10
mov dword [ebx], eax
mov ecx, esp
mov dword [esp + 0x24], esp
push str.BufPath
mov dword [esp + 0x34], 0
call fcn.00404200
or ebx, 0xffffffff
mov ecx, 0x4d3364
mov dword [esp + 0x30], ebx
call fcn.00473e00
test eax, eax
je 0x432f32
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call ebp
test eax, eax
jne 0x432f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x432f0c
push str.Temp
lea ecx, [esp + 0x14]
push 0x4d2c7c
push ecx
call fcn.004023c0
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x28], 1
call fcn.00402060
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x432ea3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
call fcn.004015e0
add eax, 0x10
mov dword [ebx], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.BufPath
mov dword [esp + 0x34], 2
call fcn.00404200
mov ecx, 0x4d3364
mov dword [esp + 0x30], 0xffffffff
call fcn.00473e00
mov eax, dword [esi]
push 0
push eax
call ebp
push 0x40040
push 0x4b36bc
push 0x4b3638
mov ecx, edi
call fcn.00496d38
push 0
mov ecx, edi
call fcn.00496d96
mov esi, dword [esi]
push ecx
sub esi, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
push esi
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, 0x4d2cb0
mov dword [edi], eax
call fcn.00432ab0
jmp 0x432f36
test ebp, ebp
je 0x432f40
mov ecx, 0x4d3364
call fcn.00472cd0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x435bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9229
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
mov dword [esi], 0x4b3fec
call fcn.0040a720
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00499720
mov byte [esp + 0x14], 2
lea edi, [esi + 0x30]
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.00402060
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esi + 0x34], ecx
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435c58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x435ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a92e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x24], 1
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push 0x4ae7a8
push ecx
mov byte [esp + 0x30], 2
call fcn.004022f0
mov esi, dword [esp + 0x1c]
add esp, 8
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.004015e0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x38]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push edi
mov byte [esp + 0x30], 3
call fcn.004015e0
add eax, 0x10
mov dword [ebp], eax
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x40], esp
add ebp, 0xfffffff0
mov dword [esp + 0x40], esp
push ebp
mov byte [esp + 0x34], 4
call fcn.004015e0
mov edx, dword [esp + 0x44]
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edx], eax
mov byte [esp + 0x30], 2
call fcn.00418a10
mov ebx, eax
mov byte [esp + 0x24], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4360cb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4360e8
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436107
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x436cf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a93a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [0x4d1788]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x26c], eax
push str..
lea eax, [ebp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004023c0
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x280], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436e5a
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x280]
mov byte [esp + 0x278], 1
jmp 0x436d80
lea eax, [esp + 0x48]
push 0x4af818
push eax
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x436e19
lea ecx, [esp + 0x48]
push 0x4b4018
push ecx
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x436e19
test byte [esp + 0x1c], 0x10
je 0x436e19
lea edx, [esp + 0x48]
push edx
call fcn.0047e9ef
add esp, 4
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00401b00
lea ecx, [esp + 0x10]
call fcn.0040a8f0
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0x20
jne 0x436e19
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, edi
call fcn.0049468b
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.004352b0
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436d80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x278], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436e83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x26c]
call fcn.0047e6cd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret 4
Function at 0x437a10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x4a93f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4d1788]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x158]
or ebx, 0xffffffff
cmp eax, ebx
push edi
je 0x437a51
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x158], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esi + 0x1b8], ecx
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x280], edx
mov dword [esi + 0x284], eax
je 0x437b4e
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4b4090
call fcn.00404200
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Status
mov dword [esp + 0x48], 0
call fcn.00404200
mov ecx, dword [esi + 0x284]
mov dword [esp + 0x44], ebx
call fcn.00435e90
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esi + 0x360], eax
push 0x4b4078
call fcn.00404200
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Status
mov dword [esp + 0x48], 1
call fcn.00404200
mov ecx, dword [esi + 0x284]
mov dword [esp + 0x44], ebx
call fcn.00435e90
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esi + 0x364], eax
push 0x4b4070
call fcn.00404200
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Status
mov dword [esp + 0x48], 2
call fcn.00404200
mov ecx, dword [esi + 0x284]
mov dword [esp + 0x44], ebx
call fcn.00435e90
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x437b85
push 0
lea eax, [esi + 0x30]
push eax
call fcn.0040b5d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x15c]
mov edx, dword [ecx]
push 1
push 1
push eax
push 0
push 0
call dword [edx + 8]
cmp eax, ebx
mov dword [esi + 0x158], eax
jne 0x437b8c
xor eax, eax
jmp 0x437c48
mov ecx, dword [esi + 0x15c]
push 0
push eax
call fcn.0040b5f0
mov ecx, dword [esi + 0x158]
push 0
push ecx
call fcn.0040b5a0
mov ecx, dword [esi + 0x158]
add esp, 8
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x437bda
mov dx, word [esp + 0x1e]
mov word [esi + 0x164], dx
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
push edi
push ecx
lea edi, [eax - 0x10]
mov dword [esp + 0x18], esp
mov ebp, esp
push edi
mov dword [esp + 0x44], 3
call fcn.004015e0
add eax, 0x10
add esp, 4
mov dword [ebp], eax
mov eax, dword [esp + 0x50]
push eax
push esi
push 1
mov byte [esp + 0x4c], 3
call fcn.00417a30
add esp, 4
mov ecx, eax
call fcn.0044d300
mov dword [esp + 0x38], ebx
lea ecx, [edi + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x437c43
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
call fcn.0047e6cd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x1c
Function at 0x4391e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a95ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 8], esi
mov dword [esi], 0x4b4168
call fcn.004346a0
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.0040a720
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4391f6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a95ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 8], esi
mov dword [esi], 0x4b4168
call fcn.004346a0
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.0040a720
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret