joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001f0a
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push str._RAWLAPI__GetNetConfig__s_______n
push 3
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.1000926a
mov edi, dword [ebp + 0x10]
push 0x20
push ebx
push edi
call fcn.1008ef90
push edi
push dword [ebp + 0xc]
call fcn.10001bb9
add esp, 0x20
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10001f6f
push dword [ebp - 4]
call fcn.1008e330
mov esi, eax
cmp esi, ebx
pop ecx
je 0x10002035
lea eax, [ebp - 4]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, ebx
jne 0x10002035
cmp esi, ebx
mov dword [ebp - 8], esi
jne 0x10001f85
push 0xfffffffffffffff9
jmp 0x10002037
push dword [ebp + 8]
lea eax, [esi + 0x10c]
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
je 0x10001fa7
mov esi, dword [esi]
cmp esi, ebx
jne 0x10001f85
push 0xfffffffffffffff7
jmp 0x10002037
lea ebx, [esi + 0x1b0]
push ebx
push str._RAWLAPI__GetNetConfig::_pAddressList__IpAddress.String___s
push 3
call fcn.1000926a
lea eax, [edi + 4]
push eax
push ebx
call fcn.10008dbc
lea eax, [edi + 8]
push eax
lea eax, [esi + 0x1c0]
push eax
call fcn.10008dbc
lea eax, [edi + 0xc]
push eax
lea eax, [esi + 0x1d8]
push eax
call fcn.10008dbc
lea eax, [edi + 0x10]
push eax
lea ebx, [esi + 0x200]
push ebx
call fcn.10008dbc
push ebx
push str._RAWLAPI__GetNetConfig::_pAddressList__DhcpServer.IpAddress.String___s
push 3
call fcn.1000926a
lea eax, [edi + 0x14]
push eax
lea eax, [esi + 0x22c]
push eax
call fcn.10008dbc
add esp, 0x40
lea eax, [edi + 0x18]
push eax
lea eax, [esi + 0x254]
push eax
call fcn.10008dbc
mov eax, dword [esi + 0x1a4]
xor esi, esi
pop ecx
inc esi
pop ecx
mov dword [edi], eax
xor ebx, ebx
jmp 0x10002038
push 0xffffffffffffff9d
pop esi
cmp dword [ebp - 8], ebx
je 0x10002046
push dword [ebp - 8]
call fcn.1008e3f3
pop ecx
push str._RAWLAPI__GetNetConfig______n
push 3
call fcn.1000926a
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10008c95
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10008ce1
push esi
push pe_nt_image_headers32
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
and esi, 0xfffffffa
inc esi
mov eax, esi
pop esi
leave
ret
push 0xfffffffffffffffc
pop eax
leave
ret

Function at 0x10008f37
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x350
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x6c]
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
mov esi, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
cmp edi, 0x40
mov dword [ebp - 0x2c], eax
jle 0x10008f90
lea eax, [ebp - 0x2ec]
push eax
call fcn.1005d99c
push edi
lea eax, [ebp - 0x2ec]
push esi
push eax
call fcn.1005db6a
lea eax, [ebp - 0x2ec]
push esi
push eax
call fcn.1005dbf9
add esp, 0x18
push 0x14
pop edi
push 0x41
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.1008ef90
push 0x41
lea eax, [ebp + 0x1c]
push 0
push eax
call fcn.1008ef90
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1008ebc0
push edi
lea eax, [ebp + 0x1c]
push esi
push eax
call fcn.1008ebc0
add esp, 0x30
xor eax, eax
xor byte [ebp + eax - 0x28], 0x36
xor byte [ebp + eax + 0x1c], 0x5c
inc eax
cmp eax, 0x40
jl 0x10008fc5
lea eax, [ebp - 0x18c]
push eax
call fcn.1005d99c
push 0x40
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.1005db6a
push dword [ebp + 0x70]
lea eax, [ebp - 0x18c]
push dword [ebp - 0x2c]
push eax
call fcn.1005db6a
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.1005dbf9
lea eax, [ebp - 0x18c]
push eax
call fcn.1005d99c
push 0x40
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.1005db6a
push 0x14
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.1005db6a
add esp, 0x40
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.1005dbf9
pop ecx
pop ecx
mov ecx, dword [ebp + 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
add ebp, 0x64
leave
ret
Function at 0x10009063
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x40], 0
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x44], eax
call fcn.1008f010
test eax, eax
pop ecx
jle 0x100090a3
inc dword [ebp - 0x40]
push edi
call fcn.1008f010
cmp dword [ebp - 0x40], eax
pop ecx
jl 0x10009094
push esi
push dword [ebp - 0x44]
lea eax, [ebp - 0x28]
push eax
call fcn.1008ebc0
mov eax, dword [ebp + 0x18]
mov ecx, eax
sar ecx, 0x18
mov byte [ebp + esi - 0x28], cl
mov ecx, eax
sar ecx, 0x10
mov byte [ebp + esi - 0x27], cl
mov ecx, eax
mov byte [ebp + esi - 0x25], al
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
sar ecx, 8
push edi
mov byte [ebp + esi - 0x26], cl
call fcn.1008f010
pop ecx
push eax
push edi
add esi, 4
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10008f37
push 0x14
lea eax, [ebp - 0x3c]
push eax
push ebx
call fcn.1008ebc0
mov eax, dword [ebp + 0x14]
add esp, 0x20
cmp eax, 1
jle 0x1000914c
lea esi, [ebp - 0x28]
sub esi, ebx
dec eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1008f010
pop ecx
push eax
push edi
lea eax, [ebp - 0x3c]
push 0x14
push eax
call fcn.10008f37
push 0x14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1008ebc0
add esp, 0x20
push 0x14
mov eax, ebx
pop ecx
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x1000913e
dec dword [ebp - 0x40]
jne 0x1000910f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
leave
ret

Function at 0x1000926a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1011cc20]
call fcn.10019010
cmp dword [ebp + 8], eax
jg 0x100092ae
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008e5e8
leave
ret

Function at 0x100092ba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1011cc20]
call fcn.10019010
cmp dword [ebp + 8], eax
jg 0x100092fe
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008e5e8
leave
ret
Function at 0x10009d9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push str.SystemCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009e44
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.PROCESSOR_ARCHITECTURE
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009e2b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax + 0xc], 0
lea eax, [ebp + 0xc]
push str.AMD64
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x10009e39
inc esi
jmp 0x10009e39
push str._RC__RaWLAPI__Get_Platform_Type_Fail_
push 1
call fcn.1000926a
pop ecx
pop ecx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10009e52
push str._RC__RaWLAPI__Open_Registry_Key_Fail_
push 1
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp + 0x8c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008e5e8
add ebp, 0x90
leave
ret
Function at 0x10009e6a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa4
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push edi
mov edi, dword [ebp + 0x7c]
and dword [edi], 0
mov dword [ebp - 0x30], 1
call fcn.10009d9c
push 0x9c
mov esi, eax
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x28], 6
jb 0x10009f1e
cmp dword [ebp - 0x24], 2
jb 0x10009ed1
neg esi
sbb esi, esi
and esi, 3
add esi, 0x33
jmp 0x10009f17
cmp dword [ebp - 0x24], 1
jb 0x10009ef8
cmp byte [ebp + 0x6e], 3
jb 0x10009eec
xor eax, eax
test esi, esi
setne al
add eax, 0x30
jmp 0x10009fa9
neg esi
sbb esi, esi
and esi, 3
add esi, 0x29
jmp 0x10009f17
cmp byte [ebp + 0x6e], 3
jb 0x10009f0d
xor eax, eax
test esi, esi
setne al
add eax, 0x24
jmp 0x10009fa9
neg esi
sbb esi, esi
and esi, 3
add esi, 0x1f
mov dword [edi], esi
jmp 0x10009fb4
cmp dword [ebp - 0x28], 5
jb 0x10009f7b
cmp dword [ebp - 0x24], 2
jb 0x10009f5f
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10009f42
xor eax, eax
test esi, esi
setne al
add eax, 0x1c
jmp 0x10009fa9
test esi, esi
je 0x10009f57
mov al, byte [ebp + 0x6e]
dec al
neg al
sbb eax, eax
and eax, 3
add eax, 0x18
jmp 0x10009fa9
mov dword [edi], 0x1a
jmp 0x10009fb4
cmp dword [ebp - 0x24], 1
jb 0x10009f6d
mov dword [edi], 0x15
jmp 0x10009fb4
cmp byte [ebp + 0x6e], 3
sbb eax, eax
and eax, 0xfffffffb
add eax, 0x10
jmp 0x10009fa9
push 4
pop eax
cmp dword [ebp - 0x28], eax
jb 0x10009fad
cmp dword [ebp - 0x24], 0x5a
jae 0x10009fa9
cmp dword [ebp - 0x24], 0xa
jb 0x10009f9d
cmp dword [ebp - 0x20], 0x7d0
sbb eax, eax
add eax, 3
jmp 0x10009fa9
cmp dword [ebp - 0x1c], 2
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov dword [edi], eax
jmp 0x10009fb4
mov dword [ebp - 0x30], 0xffffff9d
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x30]
pop edi
xor ecx, ebp
pop esi
call fcn.1008e5e8
add ebp, 0x74
leave
ret
Function at 0x1000a62f
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x1000a6d9
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x1000a6d2
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1000a69d
cmp dword [ebp - 0x20], 1
je 0x1000a69d
lea eax, [ebp - 0x24]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000a69d
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], esi
je 0x1000a6cf
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x1000a6c1
push str._RAWLAPI__RaStopService::_ChangeServiceConfig
jmp 0x1000a6c6
push str._RAWLAPI__RaStopService::_ChangeServiceConfig_SUCCESS_n
push 3
call fcn.1000926a
pop ecx
pop ecx
push edi
call ebx
push dword [ebp - 8]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x1000a6df
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x1000a775
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x1000a76e
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 4
je 0x1000a739
cmp dword [ebp - 0x1c], 2
je 0x1000a739
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
cmp dword [ebp + 0xc], esi
je 0x1000a76b
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x1000a75d
push str._RaWLAPI__RaStartService::_ChangeServiceConfig
jmp 0x1000a762
push str._RaWLAPI__RaStartService::_ChangeServiceConfig_SUCCESS_n
push 3
call fcn.1000926a
pop ecx
pop ecx
push edi
call ebx
push dword [ebp - 4]
call ebx
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret
Function at 0x1000a77a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x114]
sub esp, 0x194
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x110], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x11c]
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp + 0x10]
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x74], ebx
call fcn.1008ef90
add esp, 0xc
push str.SOFTWAREMicrosoftWZCSVCParametersInterfaces_
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000a813
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x70]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp - 0x70]
push eax
push 1
call fcn.1000926a
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1000a86d
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.ControlFlags
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000a84a
mov esi, dword [ebp - 0x78]
mov eax, 0x8000
and esi, eax
sub esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp - 0x74], ebx
je 0x1000a85b
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
push esi
push str._RC__RAWLAPI__IsZeroConfigFlagChecked__:_return__d
push 3
call fcn.1000926a
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp + 0x110]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
add ebp, 0x114
leave
ret

Function at 0x1000a8db
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000a91b
push str._RAWLAPI__Detect_Process_CreateToolhelp32Snapshot__of_processes__n
push 3
call fcn.1000926a
pop ecx
pop ecx
xor eax, eax
jmp 0x1000a98a
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1000a947
push str._RAWLAPI__Detect_Process_Cant_Open_Process32First_n
push 1
call fcn.1000926a
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a917
lea eax, [ebp - 0x5c]
push eax
push str._RAWLAPI__Detect_Process_Name_:_s_n
push 3
call fcn.1000926a
lea eax, [ebp - 0x5c]
push str.RaUI.exe
push eax
call fcn.1008eb30
add esp, 0x14
test eax, eax
jne 0x1000a96d
inc edi
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000a947
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
setg al
mov ecx, dword [ebp + 0xa8]
pop edi
xor ecx, ebp
pop esi
call fcn.1008e5e8
add ebp, 0xac
leave
ret
jmp 0x1000a8db
Function at 0x1000ac70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x90c
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x90c], eax
push 0x18
mov eax, 0x100bc050
call fcn.10092efa
mov esi, dword [ebp + 0x918]
mov eax, dword [ebp + 0x91c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push str._RC__RaWLAPI______RaCopyRegValues___n
xor edi, edi
push 3
mov dword [ebp - 4], edi
call fcn.1000926a
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x808]
push eax
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x10], 0x808
call esi
mov edi, 0x103
jmp 0x1000ad58
xor eax, eax
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push eax
push dword [ebp + 0x920]
lea ecx, [ebp]
push dword [ebp - 0x10]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [0x1011cc24]
push eax
lea eax, [ebp + 0x808]
push eax
push dword [ebp - 0x20]
call fcn.1005d72d
test eax, eax
jne 0x1000ad7d
inc dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x808]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0x24]
mov dword [ebp - 0x10], 0x808
call esi
cmp eax, edi
jne 0x1000acf3
push 0x100d0754
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp + 0x920]
add ecx, 0xfffffff0
call fcn.10001210
xor eax, eax
inc eax
jmp 0x1000ad9b
push 0x100d0754
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp + 0x920]
add ecx, 0xfffffff0
call fcn.10001210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90c]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x910
leave
ret
Function at 0x1001901c
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x294], eax
mov eax, dword [ebp + 0x2a0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x2a4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2a8]
push ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x2ac]
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2b0]
push edi
mov dword [ebp - 0x80], eax
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x6c]
push eax
push 0x100ce7c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x194]
push eax
call edi
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + 0x194]
dec ecx
add eax, ecx
jmp 0x100190af
dec eax
cmp byte [eax], 0x5c
jne 0x100190ae
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [eax + 1], 0
push str.RaWLAPI.
lea eax, [ebp + 0x194]
push eax
call esi
push dword [ebp - 0x80]
lea eax, [ebp + 0x194]
push eax
call esi
lea eax, [ebp + 0x194]
push eax
push ebx
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x7c]
call edi
mov ecx, dword [ebp + 0x294]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
add ebp, 0x298
leave
ret 0x14

Function at 0x1001911c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x208], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x204]
push eax
push 0x100ce7c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
dec ecx
add eax, ecx
jmp 0x1001918c
dec eax
cmp byte [eax], 0x5c
jne 0x1001918b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [eax + 1], 0
push str.RaWLAPI.
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebp - 0x208]
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
leave
ret 0x10
Function at 0x1001a7a6
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x310
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push esi
push edi
mov edi, dword [ebp + 0x298]
lea eax, [ebp - 0x78]
push eax
mov esi, ecx
call fcn.10009e6a
cmp dword [ebp - 0x78], 0xb
pop ecx
lea eax, [ebp + 0x18c]
jl 0x1001a7e8
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x1001a7ed
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0x84
push esi
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.CountryWirelessMode
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x7c], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x18c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1000b244
add esp, 0x18
cmp eax, 1
jne 0x1001a861
push 4
lea eax, [ebp + 0x8c]
push eax
push edi
call fcn.1008ebc0
xor eax, eax
add esp, 0xc
inc eax
jmp 0x1001a871
push str._RC__RaWLAPI__GetCountryWirelessModeInfoFromReg__:_Get_CountryWirelessMode_variable_failed_n
push 1
call fcn.1000926a
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x28c]
pop edi
xor ecx, ebp
pop esi
call fcn.1008e5e8
add ebp, 0x290
leave
ret 4