Function at 0x401540
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount
Get common file path
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426ee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1c5c
call fcn.0040b890
push ebx
push esi
push edi
mov dword [esp + 0x44], 0x2dbd472
mov dword [esp + 0x2c], 0x1cc644b3
mov dword [esp + 0x10], 0x22d4c002
mov dword [esp + 0x30], 0x7e195513
mov dword [esp + 0x1c], 0x4e53e675
mov dword [esp + 0x28], 0x745c9806
mov dword [esp + 0x20], 0x6f8577d1
mov dword [esp + 0x34], 0x44be6797
mov dword [esp + 0x24], 0x1c949d70
mov dword [esp + 0x14], 0x2d2f3bbd
mov dword [esp + 0x3c], 0x40703297
mov dword [esp + 0x40], 0x21a01817
mov dword [esp + 0x38], 0x3c933ef8
mov dword [esp + 0xc], 0x7bd59955
mov dword [esp + 0x18], 0x42d90364
sub dword [esp + 0x44], 0x77625aff
add dword [esp + 0x44], 0x31d2837
mov eax, 0x3160f2ee
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], 0x74035682
mov eax, 0x7c2fc99f
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], 0x3591ffb0
mov eax, 0x1aa2d3ca
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x2c], 0x275c9654
add dword [esp + 0x10], 0x883976
add dword [esp + 0x10], 0x402ceb79
sub dword [esp + 0x34], 0x1846fcc4
sub dword [esp + 0x44], 0x105629b
add dword [esp + 0x2c], 0x382194f4
sub dword [esp + 0x2c], 0x60c30418
add dword [esp + 0x2c], 0x1ea09d50
mov eax, 0x2748024e
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0x52f3ad24
mov eax, 0x3042bc35
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, 0x654ea65d
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x3c], 0x5c4337b8
mov eax, 0xd4a3fe6
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x20], 0x5b24bdb9
mov eax, 0x68823585
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0xa8cf112
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov eax, 0x434cafd1
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], 0x481e4f4d
sub dword [esp + 0x3c], 0x4855ca11
add dword [esp + 0x30], 0x1bcc63b6
mov eax, 0x992e5ce
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
sub dword [esp + 0x34], 0x1d7b8397
sub dword [esp + 0x10], 0x6000fef0
mov eax, 0x458ac138
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x28], 0x3e9d7c43
add dword [esp + 0x18], 0x484091e1
mov eax, 0x15a9d652
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
xor ebx, ebx
cmp dword [0x2d31e14], 0x400
jne 0x40181e
push ebx
lea eax, [esp + 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push ebx
lea eax, [esp + 0x146c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push ebx
push ebx
lea eax, [esp + 0x1070]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [esp + 0x68]
push eax
push ebx
push str.natorowuyunegugapobotezuvejomic_jobavomecifudisakebodejadomu_xecanulepuyatuligujowemo_nojirojesehet_kidogejafojeyezomexa
push str.tatilame_goxaha
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push str.Kepa
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push ebx
push ebx
mov dword [esp + 0x1c7c], ebx
call fcn.00401bed
push ebx
call fcn.00402197
pop ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004019a0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401d7a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401ad0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401db0
fstp st(0)
or dword [esp + 0x1c7c], 0xffffffff
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x40181e
push dword [esp + 0x50]
call fcn.00401da0
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x207138
jg 0x401848
inc edi
cmp edi, 0x4f672
jl 0x401826
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, 0x2b157b
jg 0x401862
inc esi
cmp esi, 0x116bd
jl 0x40184a
xor esi, esi
push ebx
lea eax, [esp + 0x146c]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bc1e
jle 0x40188f
cmp dword [esp + 0x48], 0x7a45e595
jne 0x401898
inc esi
cmp esi, 0xe154
jl 0x401864
mov eax, dword [0x435d3c]
mov dword [0x2d31e14], eax
call fcn.004012d5
mov esi, 0x3078f
cmp dword [0x2d31e14], 0x51f
jne 0x4018c8
push ebx
lea eax, [esp + 0x46c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
dec esi
jne 0x4018ac
mov ecx, dword [esp + 0x1c6c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10