joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e510
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bd9b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4b1ecc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0
push eax
mov dword [ebp - 0x48], 0
call fcn.00413530
push fcn.00404f50
push 1
push 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0045c4f2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push 0x1b
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.SELECT__FROM_Win32_Battery
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403c50
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043d3b0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41e610
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403050
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp esi, edx
setne bl
test esi, esi
je 0x41e649
push dword [ebp - 0x44]
push ecx
mov ecx, esi
call fcn.00413600
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004131f0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x41e67e
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.004136d0
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
call fcn.00413250
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret
Function at 0x420630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], 0
test edx, edx
jne 0x42068c
push edx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edx
push 0x20
mov byte [esi], dl
call fcn.004048c0
jmp 0x4207d1
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420691
sub eax, edi
mov dword [ebp - 0xb0], 0x67452301
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xac], 0xefcdab89
mov dword [ebp - 0xa8], 0x98badcfe
mov dword [ebp - 0xa4], 0x10325476
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
call fcn.00437bf0
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0xb8]
movq qword [ebp - 0x1f], xmm0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x17], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.00437ca0
push ecx
lea ecx, [ebp - 0x158]
call fcn.00421570
mov dword [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x158]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x118], 0x30
lea eax, [ebp - 0x168]
push eax
call fcn.00446ca5
mov ecx, dword [ebp - 0x158]
lea edx, [ebp - 0x158]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
movzx eax, byte [ebp + edi - 0x20]
lea ecx, [ebp - 0x158]
add esp, 0x18
push eax
call fcn.00407110
inc edi
cmp edi, 0x10
jl 0x420722
push esi
lea ecx, [ebp - 0x158]
call fcn.00421490
lea ecx, [ebp - 0x108]
call fcn.004214b0
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00446c03
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret
Function at 0x421db0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x421dce
mov esi, dword [edi]
jmp 0x421dd0
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x421df4
mov edi, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x421de0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp + 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp edx, ebx
jne 0x421e19
mov eax, ebx
jmp 0x421e1d
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x421e90
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
jb 0x421e2e
mov eax, dword [edi]
jmp 0x421e30
mov eax, edi
cmp dword [ecx + 0x14], 0x10
lea edx, [ecx + 0x10]
jb 0x421e3b
mov ecx, dword [ecx]
push dword [ebp - 4]
mov edx, dword [edx]
push eax
call fcn.0040bcc0
add esp, 8
test eax, eax
je 0x421e57
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
jmp 0x421e11
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
lea ecx, [eax + 0x10]
jb 0x421e65
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x421e6d
mov edi, dword [edi]
push dword [ecx]
mov edx, dword [ebp - 4]
mov ecx, edi
push eax
call fcn.0040bcc0
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
cmovne esi, ebx
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c530
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x544070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 0x10
jb 0x421ee4
mov edi, dword [ebx]
jmp 0x421ee6
mov edi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x421f04
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x421ef2
mov eax, dword [esi + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], ecx
mov edi, dword [ecx + eax]
cmp edi, dword [esi + 4]
jne 0x421f23
mov esi, dword [esi + 4]
jmp 0x421f29
mov esi, dword [ecx + eax + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x421f63
nop dword [eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
lea edx, [eax + 0x10]
jb 0x421f41
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x421f4b
mov ecx, dword [ebx]
jmp 0x421f4d
mov ecx, ebx
push dword [edx]
mov edx, dword [ebx + 0x10]
push eax
call fcn.0040bcc0
add esp, 8
test eax, eax
je 0x421fad
cmp esi, edi
jne 0x421f30
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x421f90
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x421ff3
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [ebx + eax + 4], edi
jmp 0x422015
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0041d930
push edi
call fcn.0045bdf1
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x421ffb
mov dword [ecx], edi
jmp 0x422015
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x422015
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.00422060
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x42211b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x422137
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x422126
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x42216d
cmp dword [ecx], edi
jne 0x422165
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x422175
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x422175
cmp dword [ecx], edi
jne 0x422178
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0041d930
push edi
call fcn.0045bdf1
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4234a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ca83
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x274], 0
xor eax, eax
mov dword [ebp - 0x278], 0x56f388
mov dword [0x56f39c], 7
mov dword [0x56f398], 0
mov word [0x56f388], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x274], 1
push eax
call fcn.00475260
add esp, 0xc
lea eax, [ebp - 0x270]
mov ecx, esi
push eax
call fcn.004228a0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00422910
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [eax]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x250]
jne 0x423570
mov eax, dword [ebp - 0x254]
cmp eax, dword [ebp - 0x234]
je 0x42360a
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004231e0
cmp dword [eax + 0x14], 8
jb 0x42358a
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x218]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4235b7
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403050
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423310
push eax
mov ecx, 0x56f388
mov byte [ebp - 4], 3
call fcn.004041e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4235fa
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403050
lea ecx, [ebp - 0x270]
call fcn.00423090
jmp 0x423550
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x423628
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403050
mov ecx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp ecx, 8
jb 0x423663
inc ecx
push ecx
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x26c]
call fcn.00403050
mov eax, 0x56f388
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret
Function at 0x424d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ccd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x424eae
cmp byte [ebx + 0x3d], 0
je 0x424eae
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x424dd9
xor al, al
jmp 0x424eb0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004048c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x424e3f
sub eax, 1
je 0x424e43
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x424e96
xor bl, bl
jmp 0x424e98
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x424e78
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0047bc0c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x424e3b
cmp byte [ebx + 0x3d], 0
je 0x424e96
test esi, esi
jne 0x424e01
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004054c0
jmp 0x424dfe
mov bl, 1
cmp ecx, 0x10
jb 0x424eaa
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00402eb0
mov al, bl
jmp 0x424eb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret

Function at 0x425da0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ce5e
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x56f4a0
mov dword [ebp - 0x1a4], 0x56f490
mov dword [0x56f490], 0
mov dword [0x56f494], 0
mov dword [0x56f498], 0
mov dword [0x56f49c], 0
call fcn.00449865
add esp, 8
mov dword [ebp - 4], 0
mov dword [0x56f4e4], 0
mov dword [0x56f4e8], 0
call fcn.004273b0
mov dword [0x56f4e4], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x56f4ec], eax
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [0x56f4e0], eax
mov eax, 0x56f490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret
Function at 0x425ee0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor bl, bl
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x2e
push 2
call esi
mov ecx, eax
cmp ecx, 0x6f
je 0x425f49
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x426009
push ecx
push str.GetAdaptersAddresses_size__error__0x_08x_
push str._CI__::_CDHCPMon::_GetIPs____
push 0
call fcn.00406440
add esp, 0x10
jmp 0x426009
push dword [ebp - 4]
call fcn.0047bf17
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x425f84
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x426009
push str.Out_of_memmory
push 0
push str._CI__::_CDHCPMon::_GetIPs____
push 0
call fcn.00406440
add esp, 0x10
jmp 0x426009
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0x2e
push 2
call esi
mov ecx, eax
test ecx, ecx
je 0x425fb8
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x426009
push ecx
push str.GetAdaptersAddresses_data__error__0x_08x_
push str._CI__::_CDHCPMon::_GetIPs____
push 0
call fcn.00406440
add esp, 0x10
jmp 0x426009
mov ebx, dword [ebp - 8]
push edi
nop dword [eax]
test byte [ebx + 0x38], 4
je 0x425fff
test byte [ebx + 0x44], 1
je 0x425fff
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x425fff
mov edi, dword [esi + 0xc]
cmp word [edi], 2
jne 0x425ff8
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004275d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
mov dword [eax + 0x18], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x425fd3
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x425fc0
mov bl, 1
pop edi
push dword [ebp - 8]
call fcn.0047bf22
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426020
Capabilities:
Create tcp socket
Create udp socket
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x544070]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 1
push eax
push eax
push 0x11
push 2
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
push 2
mov byte [esp + 0x2f], 0
mov word [esp + 0x38], ax
movq qword [esp + 0x3a], xmm0
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x4260b3
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket_error__0x_08x_
push str._CI__::_CDHCPMon::_AddDHCPListener____
push 0
call fcn.00406440
add esp, 0x10
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov eax, dword [esi]
push 0x43
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x22], ax
lea eax, [esp + 0x20]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x426104
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind_error__0x_08x_
jmp 0x42608d
lea edi, [esi + 8]
mov dword [edi], 0x10000
push 0x10000
call fcn.0047bf17
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42613b
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
push str.Memmory_error
push 0
jmp 0x42608d
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x426167
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSACreateEvent_error__0x_08x_
jmp 0x42608d
mov eax, dword [esp + 0x18]
push 0
push esi
push dword [eax + 0x5c]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x42619d
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateIoCompletionPort_error__0x_08x_
jmp 0x42608d
push 0
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 1
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4261e4
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x4261e4
mov eax, dword [0x56f3b4]
cmp dword [eax], 0
je 0x42609c
call esi
push eax
push str.WSARecv_error__0x_08x_
jmp 0x42608d
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret 4
Function at 0x428a60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d0f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x544070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.00405850
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
lea edx, [ebp + 0x20]
call fcn.0042e990
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042e8f0
mov dword [esi], eax
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x428ae5
mov eax, dword [eax]
mov byte [eax], 0
lea esi, [edi + 0x50]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042e840
mov dword [esi], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x428b1b
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00402eb0
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x428b42
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00402eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30