joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b567
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x98]
lea eax, [ebp - 0x80]
push eax
mov esi, ecx
mov dword [ebp - 0x7c], edi
call fcn.10009e6a
mov eax, dword [ebp - 0x80]
cmp eax, 0x29
pop ecx
jl 0x1001b5cf
call fcn.1000a36a
test eax, eax
mov eax, dword [esi + 0x50c]
jne 0x1001b5c4
imul eax, eax, 0x18
push dword [eax + 0x1010e7e0]
push str.drivers_s
jmp 0x1001b6b2
imul eax, eax, 0x18
push dword [eax + 0x1010e7e4]
jmp 0x1001b5ba
cmp eax, 0x1f
jl 0x1001b667
push 0x103
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.1008ef90
add esp, 0xc
push 0x105
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [esi + 0x50c]
imul eax, eax, 0x18
push dword [eax + 0x1010e7dc]
mov ebx, str.drivers_s
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
call edi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.1008e500
lea eax, [ebp - 0x78]
push eax
call fcn.10008d21
add esp, 0x18
test eax, eax
jne 0x1001b6bc
call fcn.1000a36a
test eax, eax
mov eax, dword [esi + 0x50c]
jne 0x1001b65c
imul eax, eax, 0x18
push dword [eax + 0x1010e7e0]
push ebx
push dword [ebp - 0x7c]
call edi
jmp 0x1001b6b9
imul eax, eax, 0x18
push dword [eax + 0x1010e7e4]
jmp 0x1001b654
cmp eax, 0x15
jl 0x1001b680
mov eax, dword [esi + 0x50c]
imul eax, eax, 0x18
push dword [eax + 0x1010e7dc]
jmp 0x1001b5ba
cmp eax, 0xb
jne 0x1001b699
mov eax, dword [esi + 0x50c]
imul eax, eax, 0x18
push dword [eax + 0x1010e7d8]
jmp 0x1001b5ba
cmp eax, 2
jl 0x1001b6bc
mov eax, dword [esi + 0x50c]
imul eax, eax, 0x18
push dword [eax + 0x1010e7d4]
push 0x100d8034
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
add ebp, 0x90
leave
ret 4
mov ecx, dword [0x1011cc1c]
jmp 0x1001b567
Function at 0x1001c5e1
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push str._RC__RAWLAPI__MS80211::WindowsFirewallInitialize_n
push 3
call fcn.1000926a
mov edi, dword [ebp + 8]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
test edi, edi
pop ecx
pop ecx
jne 0x1001c61a
push str._RC__RAWLAPI__fwProfile__NULL____n
push 1
call fcn.1000926a
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1001c69c
and dword [edi], 0
push esi
lea eax, [ebp - 8]
push eax
push 0x100d8980
push 1
push 0
push 0x100d8970
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x1001c644
push esi
push str._RC__RAWLAPI__CoCreateInstance_failed:_0x_08lx_n
jmp 0x1001c675
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x1001c65f
push esi
push str._RC__RAWLAPI__get_LocalPolicy_failed:_0x_08lx_n
jmp 0x1001c675
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x1001c67f
push esi
push str._RC__RAWLAPI__get_CurrentProfile_failed:_0x_08lx_n
push 1
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x1001c68c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001c699
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
pop edi
leave
ret 4

Function at 0x1001c6a1
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push str._RC__RAWLAPI__MS80211::WindowsFirewallInitialize_n
push 3
call fcn.1000926a
mov eax, dword [esp + 0xc]
test eax, eax
pop ecx
pop ecx
jne 0x1001c6ca
push str._RC__RAWLAPI__pNetFwPolicy2__NULL____n
push 1
call fcn.1000926a
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1001c6fc
and dword [eax], 0
push esi
push eax
push 0x100d89f8
push 1
push 0
push 0x100d89e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x1001c6f9
push esi
push str._RC__RAWLAPI__CoCreateInstance_failed:_0x_08lx_n
push 3
call fcn.1000926a
add esp, 0xc
mov eax, esi
pop esi
ret 4
Function at 0x1001c73d
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str._RC__RAWLAPI__MS80211::CheckFirewallPortState_n
push 3
call fcn.1000926a
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x100d8980
xor ebx, ebx
xor edi, edi
inc edi
push edi
push ebx
push 0x100d8970
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x1001c795
push esi
push str._RC__RAWLAPI__CoCreateInstance_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
jmp 0x1001c896
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov esi, edi
call dword [ecx + 0x1c]
test eax, eax
jne 0x1001c86c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x1001c852
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
jne 0x1001c838
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, ebx
jl 0x1001c81e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x4c]
mov esi, eax
cmp esi, ebx
jge 0x1001c813
push esi
push str._RC__RAWLAPI__get_Enabled_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001c82d
push esi
push str._RC__RAWLAPI__Item_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001c847
push edi
push str._RC__RAWLAPI__get_GloballyOpenPorts_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001c861
push edi
push str._RC__RAWLAPI__get_CurrentProfile_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001c87b
push edi
push str._RC__RAWLAPI__get_LocalPolicy_failed:_0x_08lx_n
push edi
call fcn.1000926a
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x1001c896
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp word [ebp - 0x18], bx
setne al
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10022337
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100229f6
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x10022a0c
push 0x80004005
call fcn.10001116
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10022a0f
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10022a3b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.100222cb
mov edi, eax
cmp edi, esi
je 0x10022aa3
lea ecx, [ebp - 0x70]
call fcn.10022236
mov eax, edi
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e5e8
add ebp, 0x98
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10022abb
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.10022a3b
cmp eax, esi
jne 0x10022aee
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call edi
test eax, eax
je 0x10022aab
lea ecx, [ebp - 0x70]
call fcn.10022236
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10022236
mov eax, esi
jmp 0x10022a89
Function at 0x1002462c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x18
mov eax, 0x100bdce9
call fcn.10092efa
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x18]
call fcn.10004d63
mov eax, dword [esi]
push ebx
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0xc0]
lea eax, [ebp - 0x20]
push eax
call fcn.10009e6a
cmp dword [ebp - 0x20], 0xb
pop ecx
lea eax, [ebp + 0x80]
jl 0x1002469e
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x100246a3
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x80]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10024757
push 4
pop eax
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x180]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.IEEE80211H
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1002472f
lea eax, [ebp]
push str.RegQueryValueEx_REGSTR_OP_MODE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp]
push eax
push 1
call fcn.1000926a
add esp, 0x10
jmp 0x10024746
lea eax, [ebp + 0x180]
push eax
call fcn.10091c8d
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x10024746
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], ebx
je 0x10024757
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001210
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x194
leave
ret
Function at 0x10024797
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x18
mov eax, 0x100bdd19
call fcn.10092efa
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x18]
call fcn.10004d63
mov eax, dword [esi]
push ebx
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0xc0]
lea eax, [ebp - 0x20]
push eax
call fcn.10009e6a
cmp dword [ebp - 0x20], 0xb
pop ecx
lea eax, [ebp + 0x80]
jl 0x10024809
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x1002480e
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x80]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100248c2
push 4
pop eax
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x180]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Adhoc5GDisable
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1002489a
lea eax, [ebp]
push str.RegQueryValueEx_REGSTR_OP_MODE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp]
push eax
push 1
call fcn.1000926a
add esp, 0x10
jmp 0x100248b1
lea eax, [ebp + 0x180]
push eax
call fcn.10091c8d
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x100248b1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], ebx
je 0x100248c2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001210
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x194
leave
ret
Function at 0x100248f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x18
mov eax, 0x100bdd49
call fcn.10092efa
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x18]
call fcn.10004d63
mov eax, dword [esi]
push ebx
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0xc0]
lea eax, [ebp - 0x20]
push eax
call fcn.10009e6a
cmp dword [ebp - 0x20], 0xb
pop ecx
lea eax, [ebp + 0x80]
jl 0x10024965
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x1002496a
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x80]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10024a1e
push 4
pop eax
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x180]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.BssidRepositTime
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100249f6
lea eax, [ebp]
push str.RegQueryValueEx_REGSTR_BSSIDREPOSITTIME_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp]
push eax
push 1
call fcn.1000926a
add esp, 0x10
jmp 0x10024a0d
lea eax, [ebp + 0x180]
push eax
call fcn.10091c8d
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x10024a0d
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], ebx
je 0x10024a1e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001210
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x194
leave
ret
cmp byte [0x1011c700], 0
jne 0x100573f4
xor eax, eax
ret
push esi
mov esi, 0x1011c88c
push esi
call fcn.10001272
test eax, eax
pop ecx
je 0x10057410
push esi
call fcn.10001b5e
test eax, eax
pop ecx
jne 0x10057414
xor eax, eax
pop esi
ret
mov ecx, dword [0x1011cc1c]
pop esi
jmp 0x100248f3
Function at 0x10027094
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x24
mov eax, 0x100bdfd4
call fcn.10092f2d
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov esi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x10114f14]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x1002714e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001044
add esp, 0xc
test eax, eax
jl 0x1002714e
mov edi, dword [ebp - 0x24]
cmp edi, 0x400
jg 0x10027136
push edi
call fcn.10003f1f
test al, al
pop ecx
je 0x10027136
mov eax, edi
call fcn.100929a0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1002713f
push edi
lea ecx, [ebp - 0x20]
call fcn.10004c3a
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.100010de
cmp eax, ebx
jne 0x10027193
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1002715e
lea ecx, [ebp]
call fcn.10022914
lea ecx, [ebp - 0x20]
call fcn.10003c96
mov eax, 0x8007000e
lea esp, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x408
leave
ret 0x10
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x100271b2
call fcn.1002275f
mov esi, eax
jmp 0x10027284
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x100271cf
call fcn.1002275f
jmp 0x10027279
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x100271c5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x18], esi
jae 0x10027216
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10027202
lea ecx, [ebp]
call fcn.10022914
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.10003c96
mov eax, esi
jmp 0x1002716b
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10022f70
mov dword [ebp - 4], 1
jmp 0x10027246
cmp dword [ebp], ebx
jne 0x10027252
mov esi, 0x8007000e
jmp 0x1002727b
push esi
push dword [ebp - 0x14]
push esi
push dword [ebp]
call fcn.10008c29
mov eax, dword [ebp]
add esp, 0x10
push dword [ebp + 0x41c]
mov byte [eax + esi], bl
push dword [ebp]
lea ecx, [ebp - 0x2c]
call fcn.100253f4
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10027207
lea ecx, [ebp]
call fcn.10022914
jmp 0x10027207
Function at 0x1003c826
Capabilities:
Create thread

Disassembly:
push esi
push str._RAWLAPI__ExtRegWPS______CDeviceFinderCallback::DeviceAdded_n
push 3
call fcn.1000926a
push str._RAWLAPI__ExtRegWPS__AddRef_for_UPnP_device_n
push 3
call fcn.1000926a
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
add esp, 0x10
push esi
call dword [eax + 4]
push 0x28
call fcn.1006d86f
test eax, eax
pop ecx
je 0x1003c823
and dword [eax], 0
mov dword [eax + 4], esi
jmp 0x1003c825
xor eax, eax
push eax
push 0
push 0x1003c6bc
call fcn.10094e9a
push 0x100e3af4
push 3
call fcn.1000926a
add esp, 0x14
xor eax, eax
pop esi
ret 0xc

Function at 0x1003c86c
Capabilities:
Create thread

Disassembly:
push str._RAWLAPI__ExtRegWPS__CDeviceFinderCallback::SearchComplete_n
push 3
call fcn.1000926a
push 0x28
call fcn.1006d86f
add esp, 0xc
test eax, eax
je 0x1003c869
mov dword [eax], 2
jmp 0x1003c86b
xor eax, eax
push eax
push 0
push 0x1003c6bc
call fcn.10094e9a
add esp, 0xc
xor eax, eax
ret 8
Function at 0x100408b5
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
push 0x80
xor esi, esi
lea eax, [ebp - 0xc]
push esi
push eax
mov edi, ecx
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x10040905
lea eax, [ebp - 0xc]
push 0x100e5aac
push eax
call fcn.1008e4f0
jmp 0x10040976
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], esi
call fcn.1003fca8
test eax, eax
lea eax, [ebp - 0xc]
je 0x100408f8
push 0x100e5aa4
push eax
call fcn.1008e500
pop ecx
lea eax, [ebp - 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.10007f0d
mov ecx, edi
call fcn.1003ff7e
cmp eax, esi
jne 0x10040968
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10040968
lea eax, [ebp - 0xc]
push 0x100e5aac
push eax
call fcn.1008e4f0
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push 0x100cdb34
push eax
call fcn.1008e500
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 8]
call fcn.10005cd8
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.1008e5e8
add ebp, 0x78
leave
ret

Function at 0x10047205
Capabilities:
Link many functions at runtime

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esi]
cmp ecx, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
je 0x1004729e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanSetProfile
push ecx
call edi
push str.WlanDeleteProfile
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.WlanGetProfile
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.WlanGetProfileList
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.WlanSetProfilePosition
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.WlanReasonCodeToString
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.WlanFreeMemory
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.WlanSetProfileCustomUserData
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.WlanGetProfileCustomUserData
push dword [esi]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
pop edi
pop esi
ret