joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004835
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebx, ebx
inc ebx
push esi
mov edi, ebx
call fcn.01005c50
test eax, eax
jne 0x100484f
mov eax, ebx
jmp 0x10048aa
cmp dword [0x100ac3c], 0
jne 0x100489c
test byte [0x100b898], bl
jne 0x100489c
push 6
push 0
push 0x1003869
push dword [0x100aa4c]
mov dword [0x100ae64], esi
push 0x7d3
push dword [0x100b4a4]
call fcn.01003f39
sub eax, 6
je 0x100489a
dec eax
je 0x10048b0
sub eax, 0x832
jne 0x100489c
mov dword [0x100ac3c], ebx
mov edi, ebx
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
xor edi, edi
jmp 0x10048a8

Function at 0x1005ae4
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x1005b0b
inc esi
mov al, byte [esi]
test al, al
je 0x1005b04
cmp al, 0x22
jne 0x1005af9
cmp byte [esi], 0x22
jne 0x1005b1c
jmp 0x1005b1b
cmp al, 0x20
jle 0x1005b1c
inc esi
cmp byte [esi], 0x20
jg 0x1005b0f
jmp 0x1005b1c
cmp al, 0x20
jg 0x1005b22
inc esi
mov al, byte [esi]
test al, al
jne 0x1005b17
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x1005b3c
movzx eax, word [ebp - 0x14]
jmp 0x1005b3f
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x1005c50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005c63
xor eax, eax
jmp 0x1005c6b
shr eax, 4
not eax
and eax, 1
ret 4
Function at 0x204022f0
Capabilities:
Encode data using xor

Disassembly:
add byte [eax + 0x26b48d], dl
add byte [eax], al
add byte [ebp + 0x56], dl
test dl, 3
je 0x20402306
dec edx
test dl, 3
jne 0x20402300
test edx, edx
jbe 0x20402342
add edx, 3
mov eax, edx
shr eax, 3
je 0x20402347
mov dword [esp], ebx
xor ebp, ebp
mov ebx, dword [esp + 0xc]
xor dword [ecx + ebp*8], ebx
xor dword [ecx + ebp*8 + 4], ebx
inc ebp
cmp ebp, eax
jb 0x2040231d
mov ebx, dword [esp]
lea eax, [ebp + ebp + 1]
mov eax, 1
jmp fcn.20402330

Function at 0x20403580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor dword [eax], esp
mov edi, dword [ecx + esi + 0x1c]
add edx, esi
mov ecx, dword [ecx + esi + 0x24]
add edi, esi
add ecx, esi
xor esi, esi
mov dword [esp + 0x430], ecx
mov dword [esp + 0x434], edi
mov dword [esp + 0x438], edx
jmp 0x204035aa
Function at 0x204044a0
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebx - 0x75], dl
dec eax
sbb al, 0xff
adc dword [ebp + 0x531675c0], eax

Function at 0x20407be3
Capabilities:
Access peb ldr_data

Disassembly:
push edi
push ebx
push ebp
sub esp, 0x2bc
mov eax, dword fs:[0x30]
mov dword [esp + 0x2b8], esi
mov eax, dword [eax + 0xc]
add eax, 0xc
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
movzx edx, word [esi]
test edx, edx
je 0x20407bff
xor ecx, ecx
inc ecx
movzx edx, word [esi + ecx*2]
test edx, edx
jne 0x20407c0d
test ecx, ecx
je 0x20407bff
mov ebx, ecx
xor edx, edx
xor ebp, ebp
shr ebx, 1
je 0x20407c72
mov dword [esp], eax
movzx eax, word [esi + ebp*4]
cmp eax, 0x41
jl 0x20407c3a
cmp eax, 0x5a
lea edi, [eax + 0x20]
jg 0x20407c3a
mov eax, edi
imul edx, edx, 0x1003f
movzx eax, ax
add edx, eax
movzx eax, word [esi + ebp*4 + 2]
cmp eax, 0x41
jl 0x20407c59
cmp eax, 0x5a
lea edi, [eax + 0x20]
jg 0x20407c59
mov eax, edi
imul edx, edx, 0x1003f
inc ebp
movzx eax, ax
add edx, eax
cmp ebp, ebx
jb 0x20407c27
mov eax, dword [esp]
shl ebp, 1
cmp ebp, ecx
jae 0x20407c90
movzx ebx, word [esi + ebp*2]
cmp ebx, 0x41
jl 0x20407c85
cmp ebx, 0x5a
lea ecx, [ebx + 0x20]
jg 0x20407c85
mov ebx, ecx
imul edx, edx, 0x1003f
movzx ecx, bx
add edx, ecx
cmp edx, 0x43aec803
jne 0x20407bff
mov ecx, dword [eax + 0x18]
mov esi, dword [esp + 0x2b8]
mov edx, dword [ecx + 0x8ae28]
mov eax, dword [ecx + 0x8ae2c]
test edx, edx
jbe 0x20407cf4
mov ebx, edx
shr ebx, 1
je 0x20407d1e
xor ebp, ebp
mov edi, dword [ecx + ebp*8 + 0x8ae30]
add edi, eax
mov dword [esp + ebp*8], edi
mov edi, dword [ecx + ebp*8 + 0x8ae34]
add edi, eax
mov dword [esp + ebp*8 + 4], edi
inc ebp
cmp ebp, ebx
jb 0x20407cbe
lea ebx, [ebp + ebp + 1]
lea ebp, [ebx - 1]
cmp ebp, edx
jae 0x20407cf4
mov edx, dword [ecx + ebx*4 + 0x8ae2c]
add eax, edx
mov dword [esp + ebx*4 - 4], eax
lea eax, [esp]
mov dword [eax + 0x2b0], eax
mov edx, dword [eax + 0xc8]
mov dword [eax + 0x2a8], ecx
add edx, ecx
lea ecx, [esp + 0x298]
call edx
add esp, 0x2bc
pop ebp
pop ebx
pop edi
ret
mov ebx, 1
jmp 0x20407ce0
Function at 0x20408670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x21c
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
mov ebp, dword [esp + 0x224]
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x204086a2
xor eax, eax
jmp 0x204087ce
push 0
lea eax, [esp + 0x1c]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov esi, eax
test esi, esi
je 0x204087cc
cmp esi, 0x104
jb 0x204086d6
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x204087cc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x204087cc
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push eax
call edx
test eax, eax
jge 0x2040873e
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x2040872f
movzx edx, ax
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x204087c0
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x204087c0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x204a30d8]
mov esi, eax
test esi, esi
jne 0x20408765
cmp word [esp + 0x18], ax
je 0x20408765
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x20408794
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea edi, [esi + 1]
cmp edi, ebp
jbe 0x20408786
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
jmp 0x20408793
push ebp
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
pop edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x204087c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x220]
pop esi
pop ebp
xor ecx, esp
call fcn.20478952
add esp, 0x21c
ret 4
Function at 0x204087f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x320
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebp
mov ebp, dword [esp + 0x328]
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x20408822
xor eax, eax
jmp 0x20408998
push 0
lea eax, [esp + 0x1c]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, eax
test esi, esi
je 0x20408996
cmp esi, 0x104
jb 0x20408856
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x20408996
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x20408996
push 0x104
lea edx, [esp + 0x120]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
sbb eax, eax
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x204088b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x204088aa
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x2040898a
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x128]
push edx
push 0
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x20408909
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x204088fa
movzx edx, ax
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x2040898a
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x2040898a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x204a30dc]
mov esi, eax
test esi, esi
jne 0x2040892f
cmp byte [esp + 0x18], al
je 0x2040892f
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x2040895e
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea edi, [esi + 1]
cmp edi, ebp
jbe 0x20408950
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
jmp 0x2040895d
push ebp
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x2040898a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x324]
pop esi
pop ebp
xor ecx, esp
call fcn.20478952
add esp, 0x320
ret 4
Function at 0x2040bc70
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x2040bd0c
cmp word [ebx + 8], 2
push edi
jne 0x2040bcd5
cmp word [ebx + 0xa], 4
jne 0x2040bcd5
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x2040bcd5
jmp 0x2040bcb0
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.2040bc00
test eax, eax
mov dword [esi], eax
je 0x2040bd00
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x2040bcb0
mov edx, dword [ebx]
mov esi, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push esi
call dword [sym.imp.MSVCR80.dll_strncpy_s]
add esp, 0x10
pop edi
mov byte [esi + 0x400], 0
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x2040bd1c.11001
jmp dword [eax*4 + 0x2040bd44]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x2047bb7c
mov eax, dword fs:[0]
push eax
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov edx, vtable.CArray_class_CIPv6Addr__class_CIPv6Addr_.0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x4c], vtable.CArray_class_CIPv4Addr__class_CIPv4Addr_.0
mov dword [eax + 0x50], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov byte [esp + 0xc], 3
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov byte [eax + 0x60], cl
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x20410cd0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x20410d61
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
mov dword [ebx + 0x38], eax
je 0x20410d61
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x20410d61
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x20487f6c
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x20410d61
mov esi, dword [esp + 8]
lea eax, [ebx + 4]
mov edi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [eax], 0xfeef04bd
pop edi
sete cl
pop esi
mov dword [ebx + 0x40], ecx
mov eax, ecx
add esp, 0xc
ret
mov eax, dword [ebx + 0x40]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x20414c10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x2047d1b8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.CRule.0
xor ecx, ecx
mov dword [eax + 0x20], vtable.CArray_class_CIPv4Addr__class_CIPv4Addr_.0
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x28], ecx
mov dword [esp + 0xc], ecx
mov edx, vtable.CArray_struct__AddressRange__struct__AddressRange_.0
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x5c], vtable.CArray_unsigned_short_int__unsigned_short_int_.0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x64], ecx
mov byte [esp + 0xc], 3
mov edx, vtable.CArray_struct__PortRange__struct__PortRange_.0
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x78], ecx
mov byte [esp + 0xc], 4
mov dword [eax + 0x84], vtable.CArray_unsigned_short_int__unsigned_short_int_.0
mov dword [eax + 0x88], ecx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x90], ecx
mov dword [eax + 0x8c], ecx
mov byte [esp + 0xc], 5
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], ecx
mov dword [eax + 0xa8], ecx
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa0], ecx
mov byte [esp + 0xc], 6
mov dword [eax + 0xac], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xbc], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xb4], ecx
mov byte [esp + 0xc], 7
mov dword [eax + 0xc0], vtable.CArray_class_CIPv6Addr__class_CIPv6Addr_.0
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xc8], ecx
mov byte [esp + 0xc], 8
mov dword [eax + 0xd4], vtable.CArray_struct__IPv6Subnet__struct__IPv6Subnet_.0
mov dword [eax + 0xd8], ecx
mov dword [eax + 0xe4], ecx
mov dword [eax + 0xe0], ecx
mov dword [eax + 0xdc], ecx
mov byte [esp + 0xc], 9
or edx, 0xffffffff
mov byte [eax + 4], 1
mov byte [eax + 0x11c], cl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0xe8], ecx
mov dword [eax + 0xec], ecx
mov dword [eax + 0xf0], ecx
mov word [eax + 0xf4], cx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x2041c300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x2047cfa7
mov eax, dword fs:[0]
push eax
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.CZone.0
xor ecx, ecx
mov dword [eax + 8], vtable.CArray_class_CIPv4Addr__class_CIPv4Addr_.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [esp + 0xc], ecx
mov edx, vtable.CArray_struct__AddressRange__struct__AddressRange_.0
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x44], vtable.CArray_class_CIPv6Addr__class_CIPv6Addr_.0
mov dword [eax + 0x48], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x4c], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x58], vtable.CArray_struct__IPv6Subnet__struct__IPv6Subnet_.0
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x60], ecx
mov byte [esp + 0xc], 4
mov byte [eax + 0xa1], cl
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x74], ecx
mov word [eax + 0x78], cx
mov byte [eax + 0xa0], cl
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x2042ced0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x2047ccd8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, esi
mov dword [esi], vtable.CIOCtlProcTemplate.0
mov dword [esi + 0x18], 0x1000200
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov dword [esi + 0xa], ebx
mov dword [esi + 0xe], ebx
mov dword [esi + 0x12], ebx
call fcn.2042c990
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CPanelTemplate.0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x20430770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x2047aaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp ebx, esi
je 0x20430963
mov edi, dword [ebp + 8]
cmp edi, esi
je 0x20430963
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
fldz
lea ecx, [esp + 0x14]
fstp qword [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x78], esi
push 0x2c
push esi
push edi
lea edx, [esp + 0x20]
push edx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
je 0x204308e6
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x14]
push 0x3d
push 0
push eax
lea ecx, [esp + 0x24]
push ecx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
jne 0x20430821
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
or edi, 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x14]
push 0x3d
push 1
push eax
lea ecx, [esp + 0x28]
push ecx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
je 0x20430889
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCR80.dll__wtol]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
add esp, 4
fdiv qword [0x20493d18]
mov dword [esp + 0x20], eax
fld qword [esp + 0x24]
fadd st(1)
fstp qword [esp + 0x24]
fild dword [esp + 0x20]
fmulp st(1)
call fcn.204796a0
mov edi, eax
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push edi
push 0
push ecx
push esi
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_3869
add esi, 1
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [ebp + 8]
push 0x2c
push esi
push edx
lea eax, [esp + 0x20]
push eax
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
jne 0x204307ec
fld qword [esp + 0x24]
fcomp qword [0x20493d20]
fnstsw ax
test ah, 0x41
jp 0x20430951
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_3395
test eax, 0x200000
jne 0x20430951
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_2788
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov edi, eax
mov dword [esp + 0x44], 1
mov ecx, dword [edi + 0x20]
push 0x1200
push ecx
call ebx
mov esi, eax
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x3c]
push edx
sub esi, 1
push esi
push 0x120b
push eax
call ebx
test eax, eax
je 0x20430951
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [esp + 0x40], eax
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push esi
push 0x120c
push edx
call ebx
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret