Function at 0x41db10
Capabilities:
Get geographical location
Manipulate console buffer
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41eeb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xde0
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
xor esi, esi
cmp esi, 0x2c84f
jge 0x41db54
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
cmp dword [0xcca0c4], 0x6fb
jne 0x41db8b
push ebx
lea eax, [esp + 0x5f0]
push eax
push 0x404430
call edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x1fc]
push ecx
push ebx
call ebp
cmp esi, 0x1e7d3ee8
jle 0x41dbaa
cmp dword [esp + 0x18], 0xc10392
je 0x41dbaa
cmp dword [esp + 0x1d0], 0x9343ae8
jne 0x41dbb5
inc esi
cmp esi, 0x7e98d
jl 0x41db43
jmp 0x41dbe3
cmp dword [0xcca0c4], 0x28
jne 0x41dbe3
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_GetCPInfoExA]
cmp dword [0xcca0c4], 0xcf8
jne 0x41e11e
push ebx
call dword [sym.imp.SHELL32.dll_DragFinish]
push 0x404450
push ebx
call fcn.0040aa02
push ebx
push ebx
push ebx
push 0x81fc88
call fcn.0040a448
push ebx
call fcn.0040a873
add esp, 0x1c
push ebx
push ebx
call fcn.0041d2be
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
call fcn.00406910
mov dword [esp + 0x3c], 0x4046ec
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov eax, 1
mov dword [esp + 0xdf8], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x84], 0x404730
mov dword [esp + 0x94], 0x404738
mov byte [esp + 0xdf8], 3
mov ebp, 6
push 4
mov dword [esp + 0x20], eax
mov dword [esp + 0xe8], 0x4046d4
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.0040aca3
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41dd27
call fcn.0040927f
mov dword [esi], eax
call fcn.0040903e
push ebx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00409445
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41dd1c
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x20]
call fcn.0040946d
jmp 0x41dd29
xor esi, esi
lea edx, [esp + 0x9c]
lea edi, [esp + 0x24]
lea eax, [esp + 0xe4]
mov dword [esp + 0x114], esi
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ebx
call fcn.00405870
mov edi, eax
mov dword [esp + 0xdf8], ebp
call fcn.00408770
mov byte [esp + 0xdf8], 5
mov edi, dword [esp + 0x24]
mov ebp, eax
cmp edi, ebx
je 0x41ddb1
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409445
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dd8f
cmp eax, 0xffffffff
jae 0x41dd8f
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.0040946d
cmp esi, ebx
je 0x41ddb1
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 0x41ddf7
mov eax, dword [esp + 0xf0]
or eax, 4
and eax, 0x17
mov dword [esp + 0xf0], eax
test dword [esp + 0xf4], eax
je 0x41ddf7
push ebx
lea ecx, [esp + 0xe8]
call fcn.00405790
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x94], 0x4046dc
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x84], 0x4046e4
mov dword [esp + 0xdf8], 9
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x9c]
mov esi, 0x40472c
push eax
mov dword [esp + edx + 0x88], esi
call fcn.00406910
mov edi, 0x4046ec
mov dword [esp + 0x9c], edi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
push 0x40445c
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0xe00], 0xb
call fcn.00405a80
push 0x404460
lea edx, [esp + 0x98]
push edx
call fcn.00405a80
push ebx
call fcn.0040ac94
add esp, 4
push ebx
call fcn.0040a9c6
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040a9e0
fstp st(0)
push ebx
push ebx
call fcn.0040ab96
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409c38
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a77e
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a6cc
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xfc]
add esp, 0x18
mov dword [esp + 0x24], eax
mov dword [esp + edx + 0x84], esi
test byte [esp + 0xdc], 1
lea eax, [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x9c], edi
je 0x41df30
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
push eax
call fcn.0040ab45
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], 0x404694
mov byte [esp + 0xdf8], 0xd
mov eax, dword [esp + 0xd4]
mov ebp, eax
cmp eax, ebx
je 0x41dfe5
mov edi, dword [eax]
cmp edi, ebx
je 0x41dfd7
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409445
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dfb5
cmp eax, 0xffffffff
jae 0x41dfb5
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.0040946d
cmp esi, ebx
je 0x41dfd7
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040ab45
add esp, 4
mov edi, 0x4046ec
lea ecx, [esp + 0xa0]
mov byte [esp + 0xdf8], 0xc
call fcn.0040949e
mov byte [esp + 0xdf8], 2
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x84], 0x4046e4
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x94], 0x4046dc
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xe4]
mov dword [esp + eax + 0x84], 0x4046d4
push ecx
mov dword [esp + 0xe8], 0x404688
call fcn.00408f74
add esp, 4
test byte [esp + 0x7c], 1
mov dword [esp + 0x3c], edi
je 0x41e075
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
push eax
call fcn.0040ab45
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], 0x404694
mov dword [esp + 0xdf8], 0xe
mov eax, dword [esp + 0x74]
mov ebp, eax
cmp eax, ebx
je 0x41e10a
mov edi, dword [eax]
cmp edi, ebx
je 0x41e101
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409445
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41e0df
cmp eax, 0xffffffff
jae 0x41e0df
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.0040946d
cmp esi, ebx
je 0x41e101
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040ab45
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0xdf8], 0xffffffff
call fcn.0040949e
mov eax, 0x5d1
add dword [0xcca0c4], eax
mov eax, dword [0xcca0c4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xcc88bc], eax
mov eax, dword [0xcca0c4]
xor esi, esi
cmp eax, ebx
jbe 0x41e1c2
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
cmp eax, 0xfe
jne 0x41e198
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x84]
push ecx
push 0x404464
call edi
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 + 0x1c8]
push eax
push 0x404494
mov dword [esp + 0x34], ebx
call ebp
call fcn.0041d490
mov eax, dword [0xcca0c4]
cmp eax, 0x29
jne 0x41e1bd
push ebx
lea ecx, [esp + 0x1f0]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0xcca0c4]
inc esi
cmp esi, eax
jb 0x41e152
cmp eax, 0x70
jne 0x41e1d4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [0xcca0c4]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
mov dword [esp + 0x1c], 0x9682ab
mov edi, edi
cmp eax, 3
jne 0x41e201
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, dword [0xcca0c4]
cmp eax, 0xdf
jne 0x41e251
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
call edi
xor edx, edx
push ebx
mov eax, edx
push eax
push eax
push ebx
push ebx
mov dword [esp + 0x34], edx
call ebp
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea edx, [esp + 0x1c8]
push edx
push ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xcca0c4]
dec dword [esp + 0x1c]
jne 0x41e1f0
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov ebp, 0x25887
mov edi, 0xabebc05c
jmp 0x41e270
mov dword [0xcc88c4], edi
cmp eax, 0x222
jne 0x41e292
push ebx
push ebx
push ebx
push 0x4044a8
push 0x4044c4
push ebx
call esi
mov eax, dword [0xcca0c4]
dec ebp
jne 0x41e270
mov byte [0x81fc88], bl
call fcn.0041d390
call fcn.0041d8b0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0xcca0c4], 0xba
jne 0x41e2cc
push 0x4044f0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41e2e5
mov eax, 0
add dword [0xcc88bc], eax
inc esi
cmp esi, 0x1605a
jl 0x41e2b3
mov eax, 0x73
mov ecx, 0x6d
mov word [0xcca0ca], ax
mov word [0xcca0ce], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xcca0d2], dx
mov word [0xcca0de], cx
mov word [0xcca0d0], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xcca0c8
mov dword [0xcca0d8], 0x6c0064
mov word [0xcca0cc], cx
mov word [0xcca0c8], dx
mov word [0xcca0dc], ax
mov dword [0xcca0d4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0xdf0]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xdec
ret