Function at 0x4018d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push esi
push edi
mov dword [esp + 8], 0x1eea8e36
mov dword [esp + 0x10], 0x1563a1a7
mov dword [esp + 0x14], 0x4ec57e6d
mov dword [esp + 0x1c], 0xce8e116
mov dword [esp + 0x20], 0x521f0733
mov dword [esp + 0x24], 0x17e5c762
mov dword [esp + 0xc], 0x713b89a5
mov dword [esp + 0x28], 0x4c930d24
mov dword [esp + 0x18], 0x2fb89421
mov dword [esp + 0x30], 0x173eca99
mov dword [esp + 0x2c], 0x7f3ef4df
mov dword [esp + 0x34], 0x6c051a32
mov dword [esp + 0x38], 0x1abc8703
mov dword [esp + 0x3c], 0x64024ce1
mov dword [esp + 0x4c], 0xd40bda
mov dword [esp + 0x40], 0x1ef28302
mov dword [esp + 0x50], 0x299d063d
mov dword [esp + 0x44], 0x48f6df9
mov dword [esp + 0x54], 0x878ae44
mov dword [esp + 0x58], 0x3f93f343
mov dword [esp + 0x5c], 0x32ced513
mov dword [esp + 0x60], 0x70dc275d
mov dword [esp + 0x64], 0x89fbffd
mov dword [esp + 0x68], 0x251abc90
mov dword [esp + 0x6c], 0x7e0255e8
mov dword [esp + 0x70], 0xcbc0a93
sub dword [esp + 8], 0x4ae662c9
add dword [esp + 8], 0x3752729d
mov eax, 0x7cb57e80
mul dword [esp + 8]
mov eax, dword [esp + 8]
mov eax, 0x2393f09d
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], 0x547df628
mov eax, 0x1913598
mul dword [esp + 8]
mov eax, dword [esp + 8]
add dword [esp + 0x14], 0x2cf7e7d3
add dword [esp + 8], 0x27e92c0c
sub dword [esp + 8], 0x12e309c0
mov eax, 0x5a8773b9
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x20], 0x204362c1
sub dword [esp + 8], 0x11ca3008
mov eax, 0x72fa8c97
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, 0x2fabb480
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x3324181e
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, 0x208eaef1
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 8], 0x67ae330d
add dword [esp + 0x14], 0x1109fb94
mov eax, 0x144eaed3
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x20], 0x4896797c
sub dword [esp + 0xc], 0x17a94ed0
sub dword [esp + 8], 0x7d13cc0b
mov eax, 0x1d98ac37
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], 0x694980c4
mov eax, 0x793070fd
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x1440536f
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add dword [esp + 0x18], 0x78ca8061
sub dword [esp + 0x18], 0x4d2386e0
add dword [esp + 0x24], 0x76168b66
add dword [esp + 0x34], 0x55350d52
mov eax, 0x99de82b
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], 0x576d6b75
mov eax, 0x62f87f65
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
sub dword [esp + 0x1c], 0x1b37011a
add dword [esp + 0x38], 0x836b165
add dword [esp + 0x28], 0x75793ef6
add dword [esp + 0x2c], 0x475f5602
add dword [esp + 0x3c], 0x3f17bdd6
add dword [esp + 0x24], 0x369d5f12
mov eax, 0x5f48ea7b
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x28], 0x63e5574d
sub dword [esp + 0x10], 0x3e258ae2
sub dword [esp + 0x30], 0x6d7ac3c3
sub dword [esp + 0x10], 0xd365152
mov eax, 0x6b9799d5
mul dword [esp + 8]
mov eax, dword [esp + 8]
add dword [esp + 0xc], 0x3b769c25
mov eax, 0x51afed81
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, 0x4b51b9cf
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, 0x23142986
mul dword [esp + 8]
mov eax, dword [esp + 8]
mov eax, 0x6db5574
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, 0x131301dd
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x37db4410
mul dword [esp + 8]
mov eax, dword [esp + 8]
sub dword [esp + 0xc], 0x2749e518
mov eax, 0x20f74480
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x537579da
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x15ea0e6f
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub dword [esp + 0xc], 0x10dce0b8
sub dword [esp + 0x1c], 0x56f70c95
sub dword [esp + 0x2c], 0x66df052d
mov eax, 0x72390419
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], 0x1bd77bd
mov eax, 0x3f20caa1
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov eax, 0x4b3a52c7
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x79cd4023
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
xor edi, edi
cmp dword [0x40210f0], 0x400
jne 0x401cb2
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push edi
call fcn.0040386d
pop ecx
push edi
call fcn.00403bfb
pop ecx
push edi
call fcn.00404382
pop ecx
xorps xmm0, xmm0
call fcn.004010a7
push edi
call fcn.004043f9
pop ecx
push edi
call fcn.00404176
pop ecx
push edi
call fcn.00404176
pop ecx
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x207138
jg 0x401ccb
inc esi
cmp esi, 0x4f672
jl 0x401cb4
mov esi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0x2b157b
jg 0x401ce5
inc esi
cmp esi, 0x116bd
jl 0x401ccd
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
cmp esi, 0x58bc14
jle 0x401d0c
cmp dword [esp + 0x7c], 0x7a45f535
jne 0x401d15
inc esi
cmp esi, 0xe154
jl 0x401ce7
mov eax, dword [0x41ee64]
mov dword [0x40210f0], eax
call fcn.00401635
mov esi, 0x3078f
cmp dword [0x40210f0], 0x51f
jne 0x401d3b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
dec esi
jne 0x401d29
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10