Function at 0x42ebd0
Capabilities:
Get geographical location
Get keyboard layout
Initialize winsock library
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e4
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x294], 0
push 0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call sub.iphlpapi.dll_GetIpAddrTable
mov edx, dword [ebp - 0x28c]
push edx
call fcn.0048d405
add esp, 4
mov dword [ebp - 0x294], eax
push 0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call sub.iphlpapi.dll_GetIpAddrTable
lea edx, [ebp - 0x1ac]
push edx
push 0x202
call sub.WSOCK32.dll_WSAStartup
push str.IPs:
lea ecx, [ebp - 0x288]
call fcn.00416a60
mov dword [ebp - 4], 1
mov byte [ebp - 0x28d], 1
mov dword [ebp - 0x2a8], 0
jmp 0x42ec95
mov eax, dword [ebp - 0x2a8]
add eax, 1
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x2a8]
cmp edx, dword [ecx]
jae 0x42ef16
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
cmp dword [ecx + eax + 4], 0x100007f
jne 0x42ecc4
jmp 0x42ec86
movzx edx, byte [ebp - 0x28d]
test edx, edx
jne 0x42eced
push 0x4a2b5c
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b5c
lea ecx, [ebp - 0x288]
call fcn.0041c910
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + eax + 4]
shr edx, 0x18
and edx, 0xff
push edx
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + eax + 4]
shr edx, 0x10
and edx, 0xff
push edx
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + eax + 4]
shr edx, 8
and edx, 0xff
push edx
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + eax + 4]
and edx, 0xff
push edx
push str._i._i._i._i
lea eax, [ebp - 0x2c8]
push eax
call fcn.0048cc64
add esp, 0x18
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x288]
call fcn.0041c910
push 2
push 4
mov eax, dword [ebp - 0x2a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x294]
lea edx, [ecx + eax + 4]
push edx
call sub.WSOCK32.dll_gethostbyaddr
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x42ef0a
push 0x4a2b4c
lea ecx, [ebp - 0x2e8]
call fcn.00416a60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax]
mov dword [ebp - 0x484], ecx
mov edx, dword [ebp - 0x484]
push edx
call fcn.0048bc60
add esp, 4
push eax
mov eax, dword [ebp - 0x484]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0041c910
mov dword [ebp - 0x2ec], 0
jmp 0x42ee23
mov ecx, dword [ebp - 0x2ec]
add ecx, 1
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x2ec]
cmp dword [eax + ecx*4], 0
je 0x42eec3
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x2ec]
cmp dword [eax + ecx*4 + 4], 0
jne 0x42ee66
mov edx, dword [ebp - 0x2cc]
cmp dword [edx], 0
je 0x42ee84
cmp dword [ebp - 0x2ec], 0
jne 0x42ee84
push 0x4a2b5c
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b5c
lea ecx, [ebp - 0x2e8]
call fcn.0041c910
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x2ec]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
push ecx
call fcn.0048bc60
add esp, 4
push eax
mov edx, dword [ebp - 0x488]
push edx
lea ecx, [ebp - 0x2e8]
call fcn.0041c910
jmp 0x42ee14
push 0x4a2b48
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b48
lea ecx, [ebp - 0x2e8]
call fcn.0041c910
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x288]
call fcn.00419710
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2e8]
call fcn.004236e0
mov byte [ebp - 0x28d], 0
jmp 0x42ec86
call sub.WSOCK32.dll_WSACleanup
push 0x4a2b44
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b44
lea ecx, [ebp - 0x288]
call fcn.0041c910
mov dword [ebp - 0x25c], 0x94
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42efa6
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x258]
push edx
push str.Win:_i._i._i__s__
lea eax, [ebp - 0x3ec]
push eax
call fcn.0048cc64
add esp, 0x18
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x3ec]
push edx
lea ecx, [ebp - 0x288]
call fcn.0041c910
lea eax, [ebp - 0x1c0]
push eax
push 0x20019
push 0
push 0x4b7008
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f044
mov dword [ebp - 0x3f0], 0x10
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x400]
push edx
push 0
push 0
push 0x4b6fd0
mov eax, dword [ebp - 0x1c0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f037
lea ecx, [ebp - 0x400]
push ecx
push str.IE:_s_
lea edx, [ebp - 0x444]
push edx
call fcn.0048cc64
add esp, 0xc
lea eax, [ebp - 0x444]
push eax
call fcn.0048bc60
add esp, 4
push eax
lea ecx, [ebp - 0x444]
push ecx
lea ecx, [ebp - 0x288]
call fcn.0041c910
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2a4]
push eax
call fcn.0048d79b
add esp, 4
movsx ecx, word [ebp - 0x29a]
push ecx
push str.TZ:_i_
lea edx, [ebp - 0x1bc]
push edx
call fcn.0048cc64
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
call fcn.0048bc60
add esp, 4
push eax
lea ecx, [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x288]
call fcn.0041c910
push 0x10
lea edx, [ebp - 0x26c]
push edx
push 0x1001
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x42f0eb
lea eax, [ebp - 0x26c]
push eax
push str.Loc:_s_
lea ecx, [ebp - 0x454]
push ecx
call fcn.0048cc64
add esp, 0xc
lea edx, [ebp - 0x454]
push edx
call fcn.0048bc60
add esp, 4
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x288]
call fcn.0041c910
push str.Kbd:
call fcn.0048bc60
add esp, 4
push eax
push str.Kbd:
lea ecx, [ebp - 0x288]
call fcn.0041c910
push 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
shl ecx, 2
push ecx
call fcn.0048a6d0
add esp, 4
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x468]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x458], 0
jmp 0x42f168
mov edx, dword [ebp - 0x458]
add edx, 1
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0x18]
jae 0x42f21b
push 0
mov ecx, dword [ebp - 0x458]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
lea ecx, [ebp - 0x464]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
lea edx, [ebp - 0x464]
push edx
call fcn.0048bc60
add esp, 4
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x288]
call fcn.0041c910
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x458], ecx
jae 0x42f1e7
push 0x4a2b5c
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b5c
lea ecx, [ebp - 0x288]
call fcn.0041c910
mov edx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp - 0x10]
jne 0x42f216
push 0x4a2b0c
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b0c
lea ecx, [ebp - 0x288]
call fcn.0041c910
jmp 0x42f159
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x46c]
push ecx
call fcn.0048bd78
add esp, 4
push 0x4a2b08
call fcn.0048bc60
add esp, 4
push eax
push 0x4a2b08
lea ecx, [ebp - 0x288]
call fcn.0041c910
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004236e0
mov edx, dword [0x4a2ac8]
push edx
push 0
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp + 8]
call fcn.00423530
mov ecx, dword [ebp - 0x470]
or ecx, 1
mov dword [ebp - 0x470], ecx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x288]
call fcn.004236e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret