Function at 0x4cc040
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598dc7
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xe8], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebx + 8]
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xec], 0
push 2
mov byte [ebx], 0
mov dword [ebx + 4], eax
call fcn.004cd030
lea ecx, [ebx + 0x4c]
mov dword [ecx + 4], 0x5ade84
mov dword [ebp - 0xe8], ecx
mov dword [ecx + 0x20], vtable.drweb::if_root_t.0
mov dword [ebp - 4], 0
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ecx], vtable.drweb::if_xlock_t.1.0
mov dword [ebp - 0xec], 1
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::if_xlock_t.0
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::critical_section_t.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::critical_section_t.1.0
lea eax, [ecx + 8]
push eax
call edi
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x70]
push 0
call fcn.0044c790
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x7c]
push 0
call fcn.00447020
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x88]
push 0
push 0
push 1
push 0
call fcn.00441ed0
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x94]
push 0
push 0
push 1
push 0
call fcn.00441ed0
mov byte [ebp - 4], 5
lea esi, [ebx + 0xa0]
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.Utils::Primitives::CDwHandleX_class_Utils::Primitives::SimpleHandleCloser_.0
mov dword [ebp - 0xe8], esi
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 6
mov dword [esi], vtable.Utils::Primitives::CDwEvent.0
mov byte [ebp - 4], 7
lea ecx, [ebx + 0xb8]
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ecx + 4], 0x5ade84
mov dword [ebp - 0xe8], ecx
mov dword [ecx + 0x20], vtable.drweb::if_root_t.0
mov byte [ebp - 4], 8
mov eax, dword [ecx + 4]
mov dword [ebp - 0xec], 3
mov dword [ecx], vtable.drweb::if_xlock_t.1.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::if_xlock_t.0
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::critical_section_t.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::critical_section_t.1.0
lea eax, [ecx + 8]
push eax
call edi
mov dword [ebp - 4], 9
lea ecx, [ebx + 0xe4]
mov dword [ebx + 0xdc], 1
mov dword [ebx + 0xe0], 0
mov dword [ecx + 4], 0x5ade84
mov dword [ebp - 0xe8], ecx
mov dword [ecx + 0x20], vtable.drweb::if_root_t.0
mov byte [ebp - 4], 0xa
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::if_xlock_t.1.0
mov dword [ebp - 0xec], 7
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::if_xlock_t.0
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::critical_section_t.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::critical_section_t.1.0
lea eax, [ecx + 8]
push eax
call edi
mov dword [ebp - 4], 0xb
xor eax, eax
lea ecx, [ebx + 0x250]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x5eaccc
mov word [ecx], ax
call fcn.0041bc10
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 0x284]
mov dword [ebx + 0x268], 0
mov dword [ebx + 0x270], 0
mov dword [ebx + 0x274], 0xa
mov dword [ebx + 0x278], 0
mov dword [ebx + 0x27c], 0
mov byte [ebx + 0x280], 1
mov dword [ecx + 4], 0x5ade84
mov dword [ebp - 0xe8], ecx
mov dword [ecx + 0x20], vtable.drweb::if_root_t.0
mov byte [ebp - 4], 0xd
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::if_xlock_t.1.0
mov dword [ebp - 0xec], 0xf
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::if_xlock_t.0
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::critical_section_t.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::critical_section_t.1.0
lea eax, [ecx + 8]
push eax
call edi
mov dword [ebp - 4], 0xe
lea esi, [ebx + 0x2a8]
mov dword [ebp - 0xe8], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00539040
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebx + 0x2bc]
push 0
push 0
push 1
push 0
call fcn.00441ed0
mov byte [ebp - 4], 0x11
lea ecx, [ebx + 0x2d4]
mov dword [ecx + 4], 0x5ade84
mov dword [ebp - 0xe8], ecx
mov dword [ecx + 0x20], vtable.drweb::if_root_t.0
mov byte [ebp - 4], 0x12
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::if_xlock_t.1.0
mov dword [ebp - 0xec], 0x1f
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::if_xlock_t.0
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.drweb::critical_section_t.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.drweb::critical_section_t.1.0
lea eax, [ecx + 8]
push eax
call edi
mov dword [ebp - 4], 0x13
lea esi, [ebx + 0x2f8]
mov dword [ebp - 0xe8], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00539040
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 0x15
call fcn.004917e0
lea esi, [eax + 0x11c]
lea eax, [esi + 4]
lock bts dword [eax], 0
jb 0x4cc45f
mov ecx, dword [esi + 8]
call fcn.004ed240
mov ecx, eax
lea eax, [esi + 0xc]
push esi
push eax
call fcn.00432160
mov dword [esi], eax
push 0
push 4
push ebx
push 0x4db880
push dword [esi]
lea edi, [ebx + 0x7c]
push 0
mov ecx, edi
call fcn.00447090
push 4
lea esi, [ebx + 0x2cc]
push esi
push 0xf
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4cc496
mov word [esi], ax
jmp 0x4cc49f
xor eax, eax
mov word [ebx + 0x2d2], ax
or dword [ebx + 0x28], 0x11
lea esi, [ebx + 0x108]
push 0x148
push 0
push esi
call fcn.00551fd0
add esp, 0xc
mov dword [esi], 5
mov dword [esi + 4], 0
call fcn.00495330
mov dword [ebx + 0x1a8], eax
mov dword [ebx + 0x1ac], edx
call fcn.0044b0a0
mov esi, eax
mov dword [ebx + 0x2c8], esi
call fcn.004c9e00
mov dword [eax + 0xa040], esi
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 0x4a], 1
mov dword [ebp - 0xe4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov al, byte [ebp - 0x4a]
cmp al, 3
je 0x4cc521
cmp al, 2
je 0x4cc521
mov dword [ebx + 0x26c], 6
jmp 0x4cc52b
mov dword [ebx + 0x26c], 0xffffffff
lea eax, [ebp - 0x28]
push eax
call fcn.0043c380
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x18], 0
je 0x4cc575
call fcn.004c9e00
lea ecx, [eax + 0x24]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4cc561
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041bc10
call fcn.004c9e00
push 0xc
push 0x5b590c
lea ecx, [eax + 0x24]
call fcn.00437860
mov eax, dword [ebx + 0x88]
lea ecx, [ebx + 0x88]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4cc5e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.00447530
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x48]
call fcn.00447590
push eax
push 1
push 0xfa3
push 3
push 0x6428b4
call fcn.00440860
add esp, 0x14
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.004100d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x4cc6bd
mov eax, dword [ebx + 0x2bc]
lea ecx, [ebx + 0x2bc]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4cc62f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.00447530
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00447590
push eax
push 1
push 0xfff
push 3
push 0x6428b4
call fcn.00440860
add esp, 0x14
jmp 0x4cc5be
push 0
mov ecx, ebx
call fcn.004cf6d0
mov esi, dword [ebp - 0xf0]
mov bl, al
mov ecx, esi
call fcn.004d9f30
test bl, bl
je 0x4cc654
push 0
mov ecx, esi
call fcn.004d1180
mov ecx, edi
call fcn.00447270
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4cc6a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.00447530
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x48]
call fcn.00447590
push eax
push 1
push 0xfa0
push 3
push 0x6428b4
call fcn.00440860
add esp, 0x14
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.004100d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 8