Function at 0x41d770
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41eaf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc78
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSIMG32.dll_AlphaBlend]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], 0x2c831
jge 0x41d7bc
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
cmp dword [0xcca10c], 0x6fb
jne 0x41d815
push ebx
call edi
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
lea eax, [esp + 0x488]
push eax
push 0x4041ec
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x94]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [esp + 0x1c]
cmp eax, 0x1e7d17d8
jle 0x41d834
cmp dword [esp + 0x18], 0xc08e62
je 0x41d834
cmp dword [esp + 0x48], 0x9067428
jne 0x41d846
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x7e7fd
jl 0x41d7a9
jmp 0x41d874
cmp dword [0xcca10c], 0x28
jne 0x41d874
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x84]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0xcca10c], 0xcf8
jne 0x41dd93
push 0x40420c
push ebx
call fcn.0040a602
push ebx
push ebx
push ebx
push 0x81fcd0
call fcn.00409fd8
push ebx
call fcn.0040a473
add esp, 0x1c
push ebx
push ebx
call fcn.0041cfce
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
call fcn.00406650
mov dword [esp + 0x3c], 0x40442c
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov eax, 1
mov dword [esp + 0xc90], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x84], 0x404470
mov dword [esp + 0x94], 0x404478
mov byte [esp + 0xc90], 3
mov ebp, 6
push 4
mov dword [esp + 0x20], eax
mov dword [esp + 0xe8], 0x404414
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], 0x201
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0xf4], ebx
call fcn.0040a8a3
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41d9b1
call fcn.00408fbf
mov dword [esi], eax
call fcn.00408d7e
push ebx
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00409185
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41d9a6
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x24]
call fcn.004091ad
jmp 0x41d9b3
xor esi, esi
lea edx, [esp + 0x9c]
lea edi, [esp + 0x20]
lea eax, [esp + 0xe4]
mov dword [esp + 0x114], esi
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ebx
call fcn.004055d0
mov edi, eax
mov dword [esp + 0xc90], ebp
call fcn.004084b0
mov byte [esp + 0xc90], 5
mov edi, dword [esp + 0x20]
mov ebp, eax
cmp edi, ebx
je 0x41da3b
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409185
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41da19
cmp eax, 0xffffffff
jae 0x41da19
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004091ad
cmp esi, ebx
je 0x41da3b
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
push 0x20
mov ecx, ebp
call edx
mov byte [esp + 0x124], al
cmp dword [esp + 0x11c], ebx
jne 0x41da81
mov eax, dword [esp + 0xf0]
or eax, 4
and eax, 0x17
mov dword [esp + 0xf0], eax
test dword [esp + 0xf4], eax
je 0x41da81
push ebx
lea ecx, [esp + 0xe8]
call fcn.004054f0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x94], 0x40441c
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x84], 0x404424
mov dword [esp + 0xc90], 9
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x9c]
mov esi, 0x40446c
push eax
mov dword [esp + edx + 0x88], esi
call fcn.00406650
mov edi, 0x40442c
mov dword [esp + 0x9c], edi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
push 0x404218
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0xc98], 0xb
call fcn.004057c0
push 0x40421c
lea edx, [esp + 0x98]
push edx
call fcn.004057c0
push ebx
call fcn.0040a894
add esp, 4
call fcn.004098f1
push ebx
call fcn.0040a5c6
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040a5e0
fstp st(0)
push ebx
push ebx
call fcn.0040a796
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a2e3
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x114]
add esp, 0x30
mov dword [esp + 0x20], eax
mov dword [esp + edx + 0x84], esi
test byte [esp + 0xdc], 1
lea eax, [esp + 0x9c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x9c], edi
je 0x41dba5
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
push eax
call fcn.0040a745
add esp, 4
mov edx, dword [esp + 0xac]
mov dword [edx], ebx
mov eax, dword [esp + 0xbc]
mov dword [eax], ebx
mov ecx, dword [esp + 0xcc]
mov dword [ecx], ebx
mov edx, dword [esp + 0xb0]
mov dword [edx], ebx
mov eax, dword [esp + 0xc0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xd0]
mov dword [ecx], ebx
and dword [esp + 0xdc], 0xfffffffe
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x9c], 0x4043d4
mov byte [esp + 0xc90], 0xd
mov eax, dword [esp + 0xd4]
mov ebp, eax
cmp eax, ebx
je 0x41dc5a
mov edi, dword [eax]
cmp edi, ebx
je 0x41dc4c
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409185
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dc2a
cmp eax, 0xffffffff
jae 0x41dc2a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004091ad
cmp esi, ebx
je 0x41dc4c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a745
add esp, 4
mov edi, 0x40442c
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc90], 0xc
call fcn.004091de
mov byte [esp + 0xc90], 2
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x84], 0x404424
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x94], 0x40441c
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xe4]
mov dword [esp + eax + 0x84], 0x404414
push ecx
mov dword [esp + 0xe8], 0x4043c8
call fcn.00408cb4
add esp, 4
test byte [esp + 0x7c], 1
mov dword [esp + 0x3c], edi
je 0x41dcea
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
push eax
call fcn.0040a745
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x5c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x6c]
mov dword [edx], ebx
mov eax, dword [esp + 0x50]
mov dword [eax], ebx
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebx
mov edx, dword [esp + 0x70]
mov dword [edx], ebx
and dword [esp + 0x7c], 0xfffffffe
mov dword [esp + 0x78], ebx
mov dword [esp + 0x3c], 0x4043d4
mov dword [esp + 0xc90], 0xe
mov eax, dword [esp + 0x74]
mov ebp, eax
cmp eax, ebx
je 0x41dd7f
mov edi, dword [eax]
cmp edi, ebx
je 0x41dd76
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409185
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dd54
cmp eax, 0xffffffff
jae 0x41dd54
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004091ad
cmp esi, ebx
je 0x41dd76
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a745
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0xc90], 0xffffffff
call fcn.004091de
mov eax, 0x5d1
add dword [0xcca10c], eax
mov eax, dword [0xcca10c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xcc8904], eax
mov eax, dword [0xcca10c]
xor edi, edi
cmp eax, ebx
jbe 0x41de34
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
cmp eax, 0xfe
jne 0x41de0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x84]
push ecx
push 0x404220
call esi
xor eax, eax
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x40]
push eax
push 0x404250
mov dword [esp + 0x34], ebx
call ebp
call fcn.0041d1a0
mov eax, dword [0xcca10c]
cmp eax, 0x29
jne 0x41de2f
push ebx
lea ecx, [esp + 0x88]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0xcca10c]
inc edi
cmp edi, eax
jb 0x41ddc7
cmp eax, 0x70
jne 0x41de46
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [0xcca10c]
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
cmp eax, 3
jne 0x41de5e
push ebx
call esi
mov eax, dword [0xcca10c]
dec edi
jne 0x41de51
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov ebp, 0x25887
mov edi, 0xabebc05c
mov dword [0xcc890c], edi
cmp eax, 0x222
jne 0x41de93
push ebx
push ebx
push ebx
push 0x404264
push 0x404280
push ebx
call esi
mov eax, dword [0xcca10c]
dec ebp
jne 0x41de71
mov byte [0x81fcd0], bl
call fcn.0041d0a0
call fcn.0041d530
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0xcca10c], 0xba
jne 0x41decd
push 0x4042ac
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41dee6
mov eax, 0
add dword [0xcc8904], eax
inc esi
cmp esi, 0x1605a
jl 0x41deb4
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov dword [esp + 0x1c], 0x1e6dcb
lea esp, [esp]
cmp dword [0xcca10c], 0x85
jne 0x41df38
push ebx
call esi
push ebx
call edi
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea edx, [esp + 0x48c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
dec dword [esp + 0x1c]
jne 0x41df10
mov eax, 0x73
mov ecx, 0x6d
mov word [0xcca112], ax
mov word [0xcca116], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xcca11a], dx
mov word [0xcca126], cx
mov word [0xcca118], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xcca110
mov dword [0xcca120], 0x6c0064
mov word [0xcca114], cx
mov word [0xcca110], dx
mov word [0xcca124], ax
mov dword [0xcca11c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0xc88]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc84
ret