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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
mov ecx, 9
sub esp, 0x8c
lea ebp, [esp + 0x38]
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa0]
test ebx, ebx
mov dword [eax], 0
mov dword [eax + 4], 0x80000000
je 0x89d340
cmp byte [esi], 0x2d
mov dword [esp + 0x24], 0
je 0x89d581
mov dword [esp + 8], ebp
mov dword [esp + 4], str._J:_M:_S
mov dword [esp], esi
call fcn.0089ccb0
test eax, eax
je 0x89d5e0
movzx edx, byte [eax]
cmp dl, 0x2e
je 0x89d130
mov dword [esp + 0x18], 0
imul esi, dword [esp + 0x40], 0xe10
imul eax, dword [esp + 0x3c], 0x3c
add esi, eax
add esi, dword [esp + 0x38]
mov edi, esi
sar edi, 0x1f
test dl, dl
jne 0x89d591
mov ebx, 0xf4240
mov eax, ebx
mul esi
imul ecx, edi, 0xf4240
mov esi, eax
mov eax, dword [esp + 0x18]
mov edi, edx
add edi, ecx
cdq
add esi, eax
mov eax, dword [esp + 0x24]
adc edi, edx
test eax, eax
je 0x89d10d
neg esi
adc edi, 0
neg edi
mov eax, dword [esp + 0xa0]
mov dword [eax], esi
mov dword [eax + 4], edi
add esp, 0x8c
pop ebx
xor eax, eax
pop esi
pop edi
pop ebp
ret
xor esi, esi
movsx ecx, byte [eax + 1]
lea ebx, [eax + 1]
mov edx, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x89d643
imul edi, ecx, 0x186a0
movsx ecx, byte [eax + 2]
lea ebx, [eax + 2]
mov dword [esp + 0x18], edi
mov edx, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x89d200
imul ecx, ecx, 0x2710
lea ebx, [eax + 3]
add edi, ecx
movsx ecx, byte [eax + 3]
mov dword [esp + 0x18], edi
mov edx, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x89d200
imul ecx, ecx, 0x3e8
lea ebx, [eax + 4]
add edi, ecx
movsx ecx, byte [eax + 4]
mov dword [esp + 0x18], edi
mov edx, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x89d200
imul ecx, ecx, 0x64
lea ebx, [eax + 5]
add edi, ecx
movsx ecx, byte [eax + 5]
mov dword [esp + 0x18], edi
mov edx, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x89d200
lea edx, [ecx + ecx*4]
movsx ecx, byte [eax + 6]
lea ebx, [edi + edx*2]
mov edx, ecx
sub ecx, 0x30
mov dword [esp + 0x18], ebx
cmp ecx, 9
lea ebx, [eax + 6]
ja 0x89d200
lea ebx, [eax + 7]
movsx eax, byte [eax + 7]
add dword [esp + 0x18], ecx
mov edx, eax
sub eax, 0x30
cmp eax, 9
ja 0x89d200
lea esi, [esi]
add ebx, 1
movsx eax, byte [ebx]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x89d1f0
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x89d0c0
and edx, 0xffffffdf
xor eax, eax
cmp dl, 0x5a
sete al
add ebx, eax
or eax, esi
jne 0x89d290
movzx edi, byte [ebx]
lea edx, [edi - 0x2b]
and edx, 0xfd
jne 0x89d307
lea ebp, [esp + 0x5c]
mov ecx, 9
mov edi, ebp
rep stosd dword es:[edi], eax
xor eax, eax
mov edi, 0xccf7bc
cmp byte [ebx], 0x2b
sete al
mov esi, eax
lea eax, [ebx + 1]
neg esi
mov ebx, eax
or esi, 1
mov eax, str._H:_M
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0089ccb0
test eax, eax
jne 0x89d5a1
add edi, 4
cmp edi, str.AliceBlue
je 0x89d591
mov eax, dword [edi]
jmp 0x89d25d
test esi, esi
je 0x89d5b2
lea eax, [esp + 0x34]
cmp dl, 0x5a
mov dword [esp], eax
je 0x89d470
call sub.msvcrt.dll_localtime
test eax, eax
je 0x89d57a
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x64], edx
mov esi, dword [eax + 0xc]
mov dword [esp + 0x68], esi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], edi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x70], edi
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x7c], eax
mov dword [esp], ebp
mov dword [esp + 0x58], 0xffffffff
call sub.msvcrt.dll_mktime
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edi, eax
mov esi, eax
movzx edx, byte [ebx]
sar edi, 0x1f
add esi, dword [esp + 0x28]
adc edi, dword [esp + 0x2c]
jmp 0x89d0d8
call fcn.008b7830
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.00bd0e70
mov dword [esp + 4], 0xccf786
mov dword [esp], esi
mov dword [esp + 0x34], eax
call fcn.00875250
test eax, eax
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x89d453
mov dword [esp + 8], ebp
mov dword [esp + 4], str._Y____m____d
mov dword [esp], esi
call fcn.0089ccb0
test eax, eax
mov edi, eax
jne 0x89d3c5
mov dword [esp + 8], ebp
mov dword [esp + 4], str._Y_m_d
mov dword [esp], esi
call fcn.0089ccb0
test eax, eax
mov edi, eax
je 0x89d5d0
xor esi, esi
movzx eax, byte [edi]
mov edx, eax
and edx, 0xffffffdf
cmp dl, 0x54
jne 0x89d446
add edi, 1
mov esi, esi
lea edi, [edi]
mov dword [esp + 8], ebp
mov dword [esp + 4], str._H:_M:_S
mov dword [esp], edi
call fcn.0089ccb0
test eax, eax
mov ebx, eax
jne 0x89d650
mov dword [esp + 8], ebp
mov dword [esp + 4], str._H_M_S
mov dword [esp], edi
call fcn.0089ccb0
mov dword [esp + 0x24], 0
mov ebx, eax
test ebx, ebx
je 0x89d591
movzx edx, byte [ebx]
mov dword [esp + 0x18], 0
cmp dl, 0x2e
jne 0x89d200
mov eax, ebx
jmp 0x89d132
add edi, 1
movzx eax, byte [edi]
cmp al, 0x20
je 0x89d440
sub eax, 9
cmp al, 4
ja 0x89d3e0
jmp 0x89d440
mov edi, dword [esp + 0xa0]
mov dword [edi], ecx
mov dword [edi + 4], ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll_gmtime
test eax, eax
je 0x89d57a
mov edx, dword [eax]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x64], edx
mov edi, dword [eax + 0xc]
mov dword [esp + 0x68], edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x6c], ecx
mov esi, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], esi
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x74], ebp
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x54], edx
mov edx, esi
mov dword [esp + 0x7c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x58], 0
lea esi, [edx + 0x76c]
cmp eax, 2
jg 0x89d500
lea eax, [ecx + 0xd]
lea esi, [edx + 0x76b]
imul eax, eax, 0x99
mov edx, 0x66666667
imul ecx, esi, 0x16d
lea ebp, [eax - 0x1c9]
mov eax, ebp
sar ebp, 0x1f
imul edx
mov eax, esi
sar edx, 1
sub edx, ebp
mov ebp, esi
sar ebp, 0x1f
add edi, edx
mov edx, 0x51eb851f
add edi, ecx
mov ecx, ebp
imul edx
and ecx, 3
add ecx, esi
sar ecx, 2
mov eax, edx
add ecx, edi
mov esi, edx
sar eax, 5
mov edi, ebp
sar esi, 7
sub edi, eax
sub esi, ebp
add ecx, edi
lea eax, [ecx + esi - 0xafa6d]
imul edx, dword [esp + 0x40], 0xe10
imul ecx, dword [esp + 0x3c], 0x3c
imul eax, eax, 0x15180
lea esi, [edx + ecx]
add esi, dword [esp + 0x38]
add eax, esi
jmp 0x89d327
mov eax, dword [0xc]
ud2
add esi, 1
mov dword [esp + 0x24], 1
jmp 0x89d094
add esp, 0x8c
mov eax, 0xffffffea
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
imul eax, dword [esp + 0x64], 0x3c
add eax, dword [esp + 0x60]
imul esi, eax
imul esi, esi, 0x3c
mov dword [esp + 0x28], esi
sar esi, 0x1f
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], esi
jmp 0x89d4e1
mov edi, esi
mov esi, 1
jmp 0x89d3c7
mov dword [esp + 8], ebp
mov dword [esp + 4], str._M:_S
mov dword [esp], esi
call fcn.0089ccb0
test eax, eax
mov dword [esp + 0x40], 0
jne 0x89d0b0
lea eax, [esp + 0x5c]
mov dword [esp + 8], 0xa
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strtol
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
cmp esi, ebx
je 0x89d591
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
xor esi, esi
jmp 0x89d41c
mov dword [esp + 0x18], 0
jmp 0x89d200
movzx edx, byte [eax]
mov dword [esp + 0x24], 0
cmp dl, 0x2e
je 0x89d438
mov dword [esp + 0x18], 0
jmp 0x89d20f