joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41adf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41ae09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41ae44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x41ae40
lea ebx, [ebx]
cmp esi, eax
jae 0x41ae44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41ae30
cmp esi, eax
jb 0x41ae4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x41d300
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41d321
xor eax, eax
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41d31b
push eax
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x41d780
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5225a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.00401bd0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], esi
call fcn.0041d390
add esp, 4
cmp dword [esp + 0x24], esi
jbe 0x41d877
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea eax, [esp + 0x1c]
mov ebx, eax
jmp 0x41d7f0
test ebx, ebx
mov esi, dword [esp + 0x20]
je 0x41d800
lea edx, [esp + 0x1c]
cmp ebx, edx
je 0x41d805
call fcn.004f2608
cmp edi, esi
je 0x41d875
test ebx, ebx
jne 0x41d812
call fcn.004f2608
cmp edi, dword [ebx + 4]
jne 0x41d81c
call fcn.004f2608
mov eax, dword [edi + 8]
push eax
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x41d864
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
jne 0x41d85d
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, dword [ebx + 4]
jne 0x41d86e
call fcn.004f2608
mov edi, dword [edi]
jmp 0x41d7f0
xor esi, esi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x24], esi
je 0x41d8a7
mov esi, dword [eax]
push eax
call fcn.004d37ab
mov ecx, dword [esp + 0x24]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x41d892
push ecx
call fcn.004d37ab
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x41d8d0
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
push 0x54d944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41d932
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push esi
call edi
test eax, eax
je 0x41d8fd
lea ecx, [esp + 8]
push ecx
call eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.Wow64RevertWow64FsRedirection
push esi
call edi
test eax, eax
pop edi
je 0x41d92b
lea ecx, [esp + 4]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ecx
ret
Function at 0x41dda0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x5237c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], ebp
lea eax, [esp + 0xc]
push eax
push 0x54e24c
push 0x17
push ebp
push 0x5425a0
mov byte [esp + 0x34], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41debe
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x54e25c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x41debe
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ebp
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
mov esi, dword [esp + 0xc]
push 1
push 0x5c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0041a7b0
mov byte [esp + 0x20], 2
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41de79
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0040fa50
mov byte [esp + 0x20], 3
mov eax, dword [eax]
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41debe
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41ded2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x41dee6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebp
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41df01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x41df19
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x427a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
call fcn.004f5b00
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], 1
call fcn.0049e220
push str.SCProtect_
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x94], 0
call fcn.0040bf20
add esp, 0x20
mov byte [esp + 0x74], 2
mov eax, dword [esp + 8]
test eax, eax
je 0x427b01
sub eax, 8
push eax
mov dword [esp + 0xc], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 8], 0
call fcn.004a6760
test eax, eax
lea ecx, [esp + 4]
je 0x427b15
push str.SCProtect64.exe
jmp 0x427b1a
push str.SCProtect.exe
call fcn.0040e730
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x220], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x427b68
sub eax, 8
push eax
mov dword [esp + 8], eax
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x74
ret 4

Function at 0x427b80
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x220]
test eax, eax
je 0x427bb7
push ebx
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
call fcn.00427bc0
test eax, eax
je 0x427bb5
push 0x64
call ebx
add edi, 1
cmp edi, 0xa
jl 0x427ba0
pop edi
pop ebx
pop esi
ret
Function at 0x427f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51fec3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
lea ecx, [esp + 0x2c]
call fcn.004a7920
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb0], esi
call fcn.004a7c70
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00426d80
push 0x3d
push 0x26
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 1
call fcn.0043daf0
mov bl, 2
push str.FINDMGR
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], bl
call fcn.00401f50
push str.COMMAND
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 3
call fcn.00401f50
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 4
call fcn.0043dee0
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x42804b
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x42806a
sub eax, 8
push eax
mov dword [esp + 0x10], eax
call fcn.004d37ab
add esp, 4
push str.TEENUP_V2
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x54f820
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 5
call fcn.00401f50
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 6
call fcn.0043dee0
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4280c5
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4280e4
sub eax, 8
push eax
mov dword [esp + 0x10], eax
call fcn.004d37ab
add esp, 4
push str.CLIENTIP
lea ecx, [esp + 0x10]
call fcn.00401f50
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 7
call fcn.0043dee0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x42812c
sub eax, 8
push eax
mov dword [esp + 0x10], eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043d6c0
push eax
lea ecx, [edi + 0x3c]
mov byte [esp + 0xb4], 8
call fcn.004bb3c0
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x428167
sub eax, 8
push eax
mov dword [esp + 0x10], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 1
call fcn.0043dab0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x428194
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004a6f70
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004f2ac1
add esp, 0xa8
ret
Function at 0x42d0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.0040e2a0
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebx
push str.Name
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.00401f50
push 0x5500bc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d15e
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Manufacturer
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x550350
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d1a3
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push 0x550304
lea ecx, [esp + 0x10]
call fcn.00401f50
push str.CPU
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d1e8
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.NumberOfCores
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x550384
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d22d
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.NumberOfLogicalProcessors
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x5503c4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d272
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.SocketDesignation
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x5503fc
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 6
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d2b7
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Win32_Processor
lea ecx, [esp + 0x10]
call fcn.00401f50
mov eax, dword [ebp + 0xc]
push 0x42d060
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x38], 7
call fcn.0042e230
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d2f9
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040cda0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523398
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.0040e2a0
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebx
push str.DeviceLocator
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.00401f50
push 0x55047c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d51e
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.BankLabel
lea ecx, [esp + 0x10]
call fcn.00401f50
push str.BankLabel
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d563
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Capacity
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x550124
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d5a8
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Win32_PhysicalMemory
lea ecx, [esp + 0x10]
call fcn.00401f50
mov eax, dword [ebp + 0xc]
push 0x42d320
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x38], 4
call fcn.0042e230
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d5ea
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040cda0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523398
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.0040e2a0
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebx
push str.Description
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.00401f50
push str.Description
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d6ae
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.DefaultIPGateway
lea ecx, [esp + 0x10]
call fcn.00401f50
push str.DefaultIPGateway
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d6f3
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.GatewayCostMetric
lea ecx, [esp + 0x10]
call fcn.00401f50
push str.GatewayCostMetric
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d738
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Win32_NetWorkAdapterConfiguration
lea ecx, [esp + 0x10]
call fcn.00401f50
mov eax, dword [ebp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x38], 4
call fcn.0042e230
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d776
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040cda0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d7a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523398
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.0040e2a0
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebx
push str.Name
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.00401f50
push 0x5500bc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d83e
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.ProductName
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x55050c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d883
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Manufacturer
lea ecx, [esp + 0x10]
call fcn.00401f50
push 0x550350
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0040c400
mov ecx, eax
call fcn.00402060
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d8c8
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push str.Win32_SoundDevice
lea ecx, [esp + 0x10]
call fcn.00401f50
mov eax, dword [ebp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x38], 4
call fcn.0042e230
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42d906
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040cda0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ff90
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x518808
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004f309b
mov edi, eax
lea edx, [edi + 1]
push edx
call fcn.004d37a6
mov ecx, dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x34]
push eax
push ecx
push edi
push esi
call fcn.004f58f1
add esp, 0x1c
cmp dword [0x56c3a0], 0
mov byte [edi + esi], 0
je 0x430014
mov edx, dword [esp + 0x20]
mov eax, dword [0x56c3ac]
push esi
push edx
push eax
call fcn.0042fea0
add esp, 0xc
cmp dword [0x56c3a8], 0
je 0x430024
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x56c3a4], 0
je 0x430036
push esi
call fcn.004f515c
add esp, 4
test esi, esi
je 0x430043
push esi
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x430060
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x518808
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004f26c6
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d37a6
mov ecx, dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x34]
push eax
push ecx
push edi
push esi
call fcn.004f52f3
add esp, 0x1c
cmp dword [0x56c3a0], 0
mov word [esi + edi*2], 0
je 0x4300f6
mov edx, dword [esp + 0x20]
mov eax, dword [0x56c3b0]
push esi
push edx
push eax
call fcn.0042fdb0
add esp, 0xc
cmp dword [0x56c3a8], 0
je 0x430106
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x56c3a4], 0
je 0x430118
push esi
call fcn.004f50ad
add esp, 4
test esi, esi
je 0x430125
push esi
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret