joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4057a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401623
and byte [ebp - 8], 0
add esp, 0xc
cmp dword [0x47c128], 1
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 9], 0x6c
jne 0x405808
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x47c128], eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401623
mov eax, dword [0x47c128]
add esp, 0xc
leave
ret

Function at 0x40581f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and byte [ebp - 1], 0
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 4], 0x63
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0xb], 0x49
mov byte [ebp - 3], 0x65
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 2], 0x73
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x11], 0x44
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 8], 0x65
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0xf], 0x76
mov byte [ebp - 7], 0x72
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 6], 0x66
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 5], 0x61
call fcn.004057a6
test eax, eax
je 0x4058ad
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4058b1
xor eax, eax
leave
ret
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00401623
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x40a7d0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push 1
call fcn.0040a680
test al, al
je 0x40a815
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov cl, byte [esp + 0x18]
test cl, cl
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi + 0x20]
setne al
inc eax
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
pop edi
sete al
pop esi
ret 0xc

Function at 0x40a820
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push 1
call fcn.0040a680
test al, al
je 0x40a853
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esi + 0x20]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
sete al
pop esi
ret 0xc

Function at 0x40a880
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push 1
call fcn.0040a680
test al, al
je 0x40a8b0
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x1c], eax
sete al
pop esi
ret 8

Function at 0x40a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0040a680
test al, al
je 0x40a95d
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [esi + 0xc]
push edi
push 0
push 0
push 0
push ebx
push eax
call ebp
test eax, eax
mov dword [esi + 0x1c], eax
jne 0x40a95b
cmp dword [edi], 0
je 0x40a95b
mov ecx, dword [esi + 4]
push ecx
call fcn.00445e29
mov edx, dword [edi]
mov dword [esi + 4], 0
inc edx
push edx
call fcn.00445e00
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], eax
push edi
push eax
lea eax, [esi + 8]
push eax
push 0
push ebx
push ecx
call ebp
test eax, eax
mov dword [esi + 0x1c], eax
jne 0x40a95b
cmp dword [edi], 0
je 0x40a95b
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40e310
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jg 0x40e323
push 1
call fcn.0042e1f3
push edi
call fcn.00445e00
add esp, 4
mov dword [esi], eax
mov byte [eax], 0
mov dword [esi + 4], edi
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x40f4f0
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
sub esp, 0xb0
push ebx
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x40f516
pop edi
pop ebx
add esp, 0xb0
ret 8
mov ecx, dword [esp + 0xbc]
test ecx, ecx
jne 0x40f52e
pop edi
xor eax, eax
pop ebx
add esp, 0xb0
ret 8
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push 2
push 0x110
push 0xf01ff
push str.ThsNetServer
push str.ThsNetServer
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, eax
test ebx, ebx
jne 0x40f571
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop ebx
add esp, 0xb0
ret 8
push esi
mov ecx, 0x11
mov esi, 0x48024c
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x83]
mov esi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x40]
push 1
push ebx
mov dword [esp + 0x18], eax
call esi
lea eax, [esp + 0x10]
xor edi, edi
push eax
lea edx, [esp + 0x28]
push 2
push ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x2710
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0x7530
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0xea60
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], edx
call esi
mov eax, dword [esp + 0xc4]
pop esi
cmp eax, edi
je 0x40f643
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
push ebx
jne 0x40f63d
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop ebx
add esp, 0xb0
ret 8
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop ebx
add esp, 0xb0
ret 8
Function at 0x40f780
Capabilities:
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push esi
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x40f7ad
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
push ecx
push 2
push 2
mov dword [esp + 0x1c], ecx
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f7e3
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
mov dx, word [0x480674]
push edi
push edx
mov word [esp + 0xc], 2
call dword [sym.imp.WSOCK32.dll_htons]
push str.127.0.0.1
mov word [esp + 0xe], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, dword [esp + 0x1ac]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push 0x10
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
push edx
push esi
call dword [sym.imp.WSOCK32.dll_sendto]
test eax, eax
pop edi
jg 0x40f84f
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, 1
pop esi
add esp, 0x1a0
ret 4

Function at 0x40f870
Capabilities:
Delete service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x40f89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.open_sc_manager_database_failed._n
call fcn.0042e6de
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0x10000
push str.ThsNetServer
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x40f8d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.open_service_failed._n
call fcn.0042e6de
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40f904
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.delete_service_failed._n
call fcn.0042e6de
add esp, 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
ret
call fcn.00417a10
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x40fbf0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x40fcd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x4856b4], eax
je 0x40fc1e
mov eax, 1
mov dword [0x4856b8], eax
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x40fc30
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x480218]
push esi
cmp eax, 0xffffffff
je 0x40fc65
mov esi, dword [esp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x480218]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x480218], 0xffffffff
mov dword [0x4857c4], esi
jmp 0x40fca3
call fcn.00458998
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov esi, eax
test esi, esi
je 0x40fca3
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40fca3
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x4856bc]
mov dword [0x4856b8], 0
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push 0
push 0
push 1
call fcn.0040fcf0
add esp, 0x14
pop esi
ret
Function at 0x418432
Capabilities:
Read .ini file

Disassembly:
or byte [ebp + 0x238248c], cl
add byte [eax], al
push eax
push 0xff
push ecx
push 0x480200
push str.EchoCheck
push str.NetClient
call esi
mov edx, dword [esp + 8]
lea eax, [esp + 0x338]
push edx
push 0xff
push eax
push 0x480200
push str.ProtectDwg
push str.NetClient
call esi
mov ecx, dword [esp + 8]
lea edx, [esp + 0x538]
push ecx
push 0xff
push edx
push str.gbsware.cn
push str.CAServer
push str.NetClient
call esi
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 3
push str.ConSec
push str.NetClient
call edi
test eax, eax
mov dword [0x48067c], eax
ja 0x4184c4
mov dword [0x48067c], 1
mov ecx, dword [esp + 8]
push ecx
push 3
push str.ConSec
push str.NetClient
call edi
test eax, eax
mov dword [0x480680], eax
ja 0x4184ea
mov dword [0x480680], 1
mov edx, dword [esp + 8]
push edx
push 0x828
push str.CAPort
push str.NetClient
call edi
test eax, eax
mov dword [0x480684], eax
ja 0x418513
mov dword [0x480684], 0x828
mov eax, dword [esp + 8]
push eax
push 0x3c
push str.KeepAliveSecond
push str.NetClient
call edi
test eax, eax
mov dword [0x480678], eax
jg 0x41853b
mov dword [0x480678], 0
jmp 0x41855d
cmp eax, 5
jge 0x41854c
mov dword [0x480678], 5
jmp 0x41855d
cmp eax, 0x1c20
jle 0x41855d
mov dword [0x480678], 0x1c20
mov ecx, dword [esp + 8]
push ecx
push 0
push str.MSRunMode
push str.NetClient
call edi
mov edx, dword [esp + 8]
mov dword [0x4857d0], eax
push edx
push 0
push str.mode
push str.NetClient
call edi
test eax, eax
je 0x418593
cmp eax, 1
je 0x418593
xor eax, eax
mov dword [0x4856a8], eax
lea eax, [esp + 0x638]
push eax
call fcn.0042d28a
lea ecx, [esp + 0x13c]
mov dword [0x480670], eax
push ecx
call fcn.0042d28a
lea edx, [esp + 0x440]
mov dword [0x480674], eax
push edx
call fcn.0042d28a
mov dword [0x485900], eax
lea eax, [esp + 0x244]
push eax
call fcn.0042d28a
lea ecx, [esp + 0x348]
mov dword [0x485904], eax
push ecx
call fcn.0042d28a
add esp, 0x14
lea edx, [esp + 0x538]
mov ecx, 0x485834
mov dword [0x485908], eax
push edx
call fcn.0044599d
call fcn.0040c8a0
test eax, eax
je 0x418672
mov al, byte [0x485680]
mov ecx, 0x3f
mov byte [esp + 0x738], al
xor eax, eax
lea edi, [esp + 0x739]
lea edx, [esp + 0x738]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
push ecx
push 0xff
stosw word es:[edi], ax
push edx
push 0x485680
push str.Admin
push str.Admin
stosb byte es:[edi], al
call esi
lea eax, [esp + 0x738]
push str.ThsAdmin
push eax
call fcn.0042d100
add esp, 8
test eax, eax
sete cl
mov byte [0x4857d4], cl
mov eax, dword [esp + 8]
pop edi
test eax, eax
mov dword [esp + 0x83c], 0xffffffff
pop esi
je 0x418690
push eax
call fcn.00445e29
add esp, 4
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
add esp, 0x83c
ret
Function at 0x418c30
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x461e35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x4812c4]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], eax
mov cl, byte [0x485680]
xor eax, eax
mov byte [esp + 0x2c], cl
mov ecx, 0x40
lea edi, [esp + 0x2d]
mov dword [esp + 0x138], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x144]
cmp eax, ebx
jne 0x418ca0
lea edx, [esp + 0x2c]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x418cac
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x418d87
push ebp
push edi
push 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov eax, dword [esp + 0x20]
push esi
push edi
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
push eax
push 0x4800c0
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x418d78
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov dx, word [eax + 8]
shr ecx, 0x10
mov word [esp + 0x16], dx
mov dx, word [eax + 0xc]
mov word [esp + 0x14], cx
mov ecx, dword [eax + 0xc]
mov word [esp + 0x1a], dx
mov eax, dword [esp + 0x1a]
shr ecx, 0x10
mov word [esp + 0x18], cx
and eax, 0xffff
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16]
push eax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x20]
push str._d._d._d._d
push ecx
call fcn.0043eb91
add esp, 0x18
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov esi, dword [esp + 0x140]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00445589
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], bl
call fcn.00445814
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret 8
Function at 0x419eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov al, byte [0x485680]
push edi
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x19], ecx
lea edx, [esp + 0x18]
lea esi, [edi + 7]
mov word [esp + 0x1d], cx
push esi
push edi
push edx
mov byte [esp + 0x24], al
mov byte [esp + 0x2b], cl
call fcn.00421400
lea eax, [esp + 0x24]
push 0x480600
push eax
call fcn.0042d100
add esp, 0x14
test eax, eax
je 0x419f20
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [0x4812c4]
mov dword [esp + 0x30], ecx
xor ebx, ebx
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call fcn.0044599d
mov edx, dword [esp + 0x30]
mov al, byte [edx]
cmp al, 0x23
je 0x419f75
cmp al, 0x40
je 0x419f75
cmp al, 0x2d
je 0x419ff4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00445814
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea eax, [edi + 8]
lea ecx, [esp + 0x30]
push eax
call fcn.0044599d
lea ecx, [esp + 0x10]
push 8
push ecx
lea ecx, [esp + 0x38]
call fcn.0043e793
mov edx, dword [esp + 0x10]
mov byte [esp + 0x28], 1
push edx
call fcn.00419e60
add esp, 4
test eax, eax
jne 0x419fda
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00445814
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00445814
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
add edi, 0x10
lea ecx, [esp + 0x30]
push edi
call fcn.0044599d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00445814
push str.0123456789ABCDEF_
lea ecx, [esp + 0x10]
call fcn.00445882
mov eax, dword [esp + 0x30]
mov esi, 1
or edi, 0xffffffff
mov byte [esp + 0x28], 2
mov ecx, dword [eax - 8]
cmp ecx, esi
jle 0x41a03d
mov al, byte [esi + eax]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00445d0e
cmp eax, edi
je 0x41a0a7
mov eax, dword [esp + 0x30]
inc esi
cmp esi, dword [eax - 8]
jl 0x41a01a
push 0x2d
lea ecx, [esp + 0x34]
call fcn.00445d0e
mov edx, dword [esp + 0x30]
cmp eax, dword [edx - 8]
je 0x41a079
mov esi, eax
inc eax
push eax
push 0x2d
lea ecx, [esp + 0x38]
call fcn.00445d1c
mov ecx, dword [esp + 0x30]
cmp eax, edi
jne 0x41a06b
mov eax, dword [ecx - 8]
mov edx, eax
sub edx, esi
cmp edx, 0xa
jne 0x41a0a7
cmp eax, dword [ecx - 8]
jne 0x41a051
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.00445814
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], edi
call fcn.00445814
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.00445814
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], edi
call fcn.00445814
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x41a2b0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x462091
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
mov al, byte [0x485680]
push ebx
push edi
mov byte [esp + 0xc8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc9]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
jne 0x41a31a
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
add esp, 0x1d0
ret
push eax
lea ecx, [esp + 0x14]
call fcn.00445882
lea ecx, [esp + 0xc]
mov dword [esp + 0x1d4], ebx
push ecx
push 0x20019
push ebx
push str.SystemCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41a377
lea ecx, [esp + 0x10]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.00445814
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
add esp, 0x1d0
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
xor esi, esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xcc]
push 0x104
push edx
push esi
push eax
call edi
test eax, eax
jne 0x41a47b
lea ecx, [esp + 0xcc]
push ecx
push str.SystemCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
lea ecx, [esp + 0x28]
call fcn.0040ac10
mov edx, dword [0x4812c4]
mov dword [esp + 0x9c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc]
push ebx
push eax
push str.NetCfgInstanceId
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 2
call fcn.0040a970
test al, al
je 0x41a3fe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.0042d295
add esp, 8
test eax, eax
je 0x41a42b
lea ecx, [esp + 0xc]
mov byte [esp + 0x1d8], 1
call fcn.00445814
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d8], bl
call fcn.0040acc0
inc esi
cmp esi, 0x64
jl 0x41a380
jmp 0x41a47b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push str.Characteristics
mov dword [esp + 0x20], ebx
call fcn.0040aa50
test al, al
je 0x41a45a
mov ecx, dword [esp + 0x18]
and ecx, 4
cmp cl, 4
jne 0x41a45a
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1d8], 1
call fcn.00445814
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d8], bl
call fcn.0040acc0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1d8], 0xffffffff
call fcn.00445814
mov ecx, dword [esp + 0x1d0]
mov eax, dword [esp + 0x1c]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d0
ret
Function at 0x41a4c0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], 0
jne 0x41a4e1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x280
push 0x40
call ebx
mov esi, eax
test esi, esi
jne 0x41a4fe
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x280
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, eax
test edi, edi
je 0x41a558
push esi
call ebp
cmp edi, 0x6f
jne 0x41a54e
mov ecx, dword [esp + 0x10]
push ecx
push 0x40
call ebx
mov esi, eax
test esi, esi
jne 0x41a53c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea edx, [esp + 0x10]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x41a558
push esi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edi, esi
lea ebx, [edi + 8]
push ebx
call fcn.0041a0e0
add esp, 4
test eax, eax
jne 0x41a58c
push ebx
call fcn.0041a2b0
add esp, 4
test eax, eax
jne 0x41a58c
mov edi, dword [edi]
test edi, edi
jne 0x41a55a
push esi
call ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x1c]
add edi, 0x194
push ebx
push 6
push edi
mov dword [esp + 0x20], 1
call fcn.00420e00
push ebx
call fcn.0043e4e7
push ebx
call fcn.00437870
add esp, 0x14
push esi
call ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret