Function at 0x1000334c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
mov eax, dword [ebp + 0x1c4]
and dword [ebp - 0x58], 0
push ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c8]
push esi
mov dword [ebp - 0x74], eax
push edi
mov edi, dword [ebp + 0x1c0]
lea eax, [ebp - 0x5c]
mov esi, pe_nt_image_headers32
push eax
mov dword [ebp - 0x50], esi
call fcn.10009e6a
push 0x28
push 0
push edi
call fcn.1008ef90
add esp, 0x10
cmp dword [ebp - 0x5c], 7
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
jl 0x10003433
cmp dword [ebp - 0x5c], 0xa
jl 0x100033cf
call fcn.1000a36a
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x20119
jmp 0x100033d4
mov eax, 0x20019
lea ecx, [ebp - 0x58]
push ecx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100033f1
and dword [edi + 0x24], 0
jmp 0x10003420
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.TCPWindowSize
push dword [ebp - 0x58]
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x24], eax
cmp dword [ebp - 0x58], 0
je 0x10003433
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x5c], 0xb
lea eax, [ebp - 0x4c]
jl 0x10003443
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x10003448
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.WirelessMode
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.1000b244
lea eax, [ebp + 0xb4]
push eax
mov dword [edi + 0x20], 9
call fcn.10091cb3
lea ecx, [edi + 0x20]
add esp, 0x28
mov dword [ecx], eax
push ecx
mov ecx, dword [0x1011cc1c]
call fcn.10021242
mov ecx, dword [0x1011cc1c]
call fcn.1001fe65
cmp eax, 1
jne 0x100035b3
push esi
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.TransmitSetting
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
add esp, 0x24
cmp eax, 1
jne 0x10003516
push 4
lea eax, [ebp + 0xb4]
push eax
lea eax, [edi + 0x14]
push eax
call fcn.1008ebc0
add esp, 0xc
jmp 0x100035b3
mov ecx, dword [0x1011cc1c]
call fcn.1001dc1a
test eax, eax
jne 0x100035b3
cmp dword [ebp - 0x5c], 0x1f
lea ecx, [ebp - 0x80]
setge al
push ecx
push 0xc
lea ecx, [ebp - 0x68]
push ecx
dec eax
and eax, 0xe650113
add eax, 0xff0c0028
push eax
push dword [ebp - 0x74]
call fcn.10001773
movzx ecx, byte [ebp - 0x62]
movzx edx, byte [ebp - 0x63]
and ecx, 3
add ecx, ecx
xor eax, eax
inc eax
and edx, eax
or ecx, edx
movzx edx, byte [ebp - 0x64]
shl ecx, 2
and edx, 3
or ecx, edx
movzx edx, byte [ebp - 0x5f]
and edx, eax
add ecx, ecx
or ecx, edx
movzx edx, byte [ebp - 0x5e]
and edx, eax
add ecx, ecx
or ecx, edx
movzx edx, byte [ebp - 0x60]
and edx, eax
movzx eax, byte [ebp - 0x61]
add ecx, ecx
or ecx, edx
and eax, 0x7f
shl ecx, 7
or ecx, eax
mov eax, dword [edi + 0x14]
and eax, 0xfff80000
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 0x68]
and eax, 0xf
add esp, 0x14
or ecx, eax
mov dword [edi + 0x14], ecx
push esi
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.TXBurst
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
lea eax, [ebp + 0xb4]
push eax
mov dword [edi + 0x1c], 1
call fcn.10091cb3
push esi
mov dword [edi + 0x1c], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.BGProtection
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
lea eax, [ebp + 0xb4]
add esp, 0x4c
push eax
call fcn.10091cb3
push esi
mov dword [edi], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.CountryRegion
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
lea eax, [ebp + 0xb4]
push eax
call fcn.10091cb3
and eax, 0x7f
push esi
mov dword [edi + 8], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.CountryRegionABand
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], esi
push eax
push ebx
call fcn.1000b244
lea eax, [ebp + 0xb4]
add esp, 0x50
push eax
call fcn.10091cb3
and eax, 0x7f
push esi
mov dword [edi + 0xc], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.TransRate
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
lea eax, [ebp + 0xb4]
push eax
call fcn.10091cb3
add esp, 0x2c
test eax, eax
jge 0x10003708
xor eax, eax
jmp 0x10003715
lea eax, [ebp + 0xb4]
push eax
call fcn.10091cb3
pop ecx
push esi
mov dword [edi + 0x18], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.ShowAuthStatus
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
lea eax, [ebp + 0xb4]
push eax
call fcn.10091cb3
push esi
mov dword [edi + 0x10], eax
lea eax, [ebp + 0xb4]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp - 0x54]
push eax
push str.CCX2Control
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x50], esi
call fcn.1000b244
add esp, 0x4c
push 4
lea eax, [ebp + 0xb4]
push eax
add edi, 4
push edi
call fcn.1008ebc0
mov ecx, dword [ebp + 0x1b4]
add esp, 0xc
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1008e5e8
add ebp, 0x1b8
leave
ret