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

Disassembly:
jmp 0x418680
push 0xffffffffffffffff
push 0x54b1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x68]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x4186c6
push 0x80070057
call fcn.004027b1
mov eax, dword [ecx + 8]
cmp eax, 2
jne 0x418702
mov esi, dword [esp + 0x64]
push 0x5647d4
mov ecx, esi
call fcn.00404133
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
mov ebp, 1
cmp eax, ebp
jne 0x418782
lea ecx, [esp + 0x18]
call fcn.00404bc4
mov dword [esp + 0x5c], ebp
push 0xd800
call fcn.004b6b2f
cmp eax, ebx
je 0x41875c
push 0xd800
push eax
lea ecx, [esp + 0x20]
call fcn.0040472d
cmp eax, ebx
je 0x41875c
mov esi, dword [esp + 0x64]
mov ecx, esi
lea eax, [esp + 0x18]
push eax
call fcn.004015fa
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x18]
call fcn.00402798
jmp 0x4186ea
mov esi, dword [esp + 0x64]
push str.Invalid_DateTime
mov ecx, esi
call fcn.00404133
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x18]
call fcn.00402798
jmp 0x4186ea
fld qword [ecx]
lea edx, [esp + 0x1c]
push edx
push ebx
sub esp, 8
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_GetAltMonthNames]
test eax, eax
je 0x4187e7
lea ecx, [esp + 0x18]
call fcn.00404bc4
mov dword [esp + 0x5c], 2
push 0xd800
lea ecx, [esp + 0x1c]
call fcn.00403c51
test eax, eax
mov esi, dword [esp + 0x64]
mov ecx, esi
jne 0x41873f
push str.Invalid_DateTime
call fcn.00404133
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x18]
call fcn.00402798
jmp 0x4186ea
movzx edx, word [esp + 0x26]
movzx ecx, word [esp + 0x28]
movzx eax, word [esp + 0x24]
mov dword [esp + 0x34], edx
movzx edx, word [esp + 0x1e]
mov dword [esp + 0x30], ecx
movzx ecx, word [esp + 0x22]
sub edx, ebp
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x1c]
mov dword [esp + 0x3c], ecx
movzx ecx, word [esp + 0x20]
mov dword [esp + 0x40], edx
movzx edx, word [esp + 0x2c]
sub eax, 0x76c
mov dword [esp + 0x48], ecx
sub edx, ebp
lea ecx, [esp + 0x68]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
call fcn.00404bc4
mov dword [esp + 0x5c], 3
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx - 8]
mov edx, ebp
sub edx, dword [ecx - 4]
mov esi, 0x100
sub eax, esi
or eax, edx
jge 0x418872
push esi
lea ecx, [esp + 0x6c]
call fcn.00403094
mov ecx, dword [esp + 0x68]
cmp dword [ecx - 8], esi
jge 0x418881
push 0x80070057
call fcn.004027b1
mov dword [ecx - 0xc], esi
mov eax, dword [esp + 0x68]
mov byte [eax + 0x100], bl
mov edx, dword [esp + 0x68]
mov eax, dword [edx - 0xc]
lea edx, [esp + 0x30]
push edx
push edi
push eax
push ecx
call fcn.004f7539
mov edx, dword [esp + 0x78]
add esp, 0x10
cmp edx, ebx
jne 0x4188b1
xor eax, eax
jmp 0x4188c7
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4188b6
sub eax, esi
js 0x4186bc
cmp eax, dword [edx - 8]
jg 0x4186bc
mov esi, dword [esp + 0x64]
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x68]
mov byte [eax + ecx], bl
push edx
mov ecx, esi
call fcn.004015fa
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x68]
call fcn.00402798
jmp 0x4186ea