Function at 0x4770b0
Capabilities:
Get geographical location
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64ae50
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x2e0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 4]
push edi
xor edx, edx
push eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], esi
mov word [ebx + 0x30], dx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x477103
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, 0x42000000
test esi, 0x1000
je 0x477115
mov edi, 0x42000002
and esi, 0x800
mov dword [ebp + 0xc], esi
je 0x477123
or edi, 1
push 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x10], esp
push 0
push edi
sub ecx, 2
push 0
push ecx
add eax, 3
sub edx, 3
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
mov eax, esp
add esi, 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov dword [ebp + 0x10], esp
mov dword [eax], ecx
push edx
mov ecx, ebx
call fcn.00473c70
test eax, eax
jne 0x47718b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x4771c6
push ecx
mov ecx, dword [ebx + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebx + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x5c
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.006100a0
push 0x1f0
lea ecx, [ebp - 0x2e8]
push 0
push ecx
mov dword [ebp - 0x2ec], 0x1f4
call fcn.006100a0
add esp, 0x18
push 0
lea edx, [ebp - 0x2ec]
push edx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebx + 0x34], 0
mov ecx, 0x17
lea esi, [ebp - 0x154]
lea edi, [ebp - 0xf8]
rep movsd dword es:[edi], dword [esi]
je 0x47723a
mov eax, dword [ebx + 0x34]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47723a
mov dword [ebx + 0x34], 0
lea ecx, [ebp - 0xf8]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x477176
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x1009
push edx
call esi
mov eax, dword [ebx + 0x34]
push 1
push eax
mov eax, dword [ebx + 4]
push 0x30
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x20
lea ecx, [ebp - 0x5c]
push ecx
push 0x1f
push 0x400
call edi
push 0x20
lea edx, [ebp - 0x9c]
push edx
push 0x1003
push 0x400
call edi
test dword [ebp + 0x18], 0x400
je 0x4772bd
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x1032
push ecx
call esi
jmp 0x47736c
cmp dword [ebp + 0xc], 0
je 0x4772dc
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x9c]
push edx
push 0
push 0x1032
push eax
call esi
jmp 0x47736c
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp + 8]
call fcn.0040bea0
mov edi, eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp + 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 1
push 0x672aa0
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00428bb0
mov byte [ebp - 4], 2
push edi
push eax
lea ecx, [ebp + 0x18]
push ecx
call fcn.00428b00
add esp, 0x18
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov edx, dword [ebx + 4]
push eax
push 0
push 0x1032
push edx
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.004014a0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.004014a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.004014a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014a0
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x1c]
je 0x4773a7
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x1001
push ecx
call esi
test eax, eax
jne 0x4773a1
mov dx, word [ebp - 0x1c]
mov ax, word [ebp - 0x1a]
mov cx, word [ebp - 0x16]
mov word [edi], dx
mov word [edi + 2], ax
mov word [edi + 6], cx
cmp dword [ebp + 0xc], 0
jne 0x4773b4
cmp word [edi], 0
jne 0x4773b4
mov eax, 1
jmp 0x4773b6
xor eax, eax
mov edx, dword [ebx + 4]
push edi
push eax
push 0x1002
push edx
call esi
mov eax, dword [ebx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18