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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x18], edx
mov ebx, ecx
mov esi, dword [ebp + 0x28]
mov ecx, esi
mov edx, 0x38
call fcn.00403b20
test al, al
je 0x404418
mov dword [esp + 0x7c], 0x38
mov dword [esp + 0x68], 0x407175
mov dword [esp + 0x6c], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 4], xmm0
mov dword [esp], 0x38
mov edi, esi
mov ecx, esi
call fcn.00406652
mov esi, edx
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov dword [esp + 0x24], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x34]
movsd qword [esp], xmm0
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
call fcn.00406568
add esp, 0x10
test al, al
je 0x40442b
call fcn.004065bc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ebx
sub esp, 0x10
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00406622
add esp, 0x10
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x12
ja 0x404748
mov ecx, eax
push 0x13
push str.invalid_timestamp_
call fcn.004064ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, esi
jb 0x40476f
test esi, esi
je 0x4043f2
push esi
push dword [esp + 8]
push ecx
mov edi, eax
call sub.msvcrt.dll_memcpy
mov eax, edi
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, esi
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 0x35
ja 0x40478c
mov ecx, eax
push 0x36
push str.__must_be_expressed_in_seconds_since_the_UNIX_epoch._n
call fcn.004064ea
mov edi, 1
jmp 0x4047ed
mov edi, esi
mov dword [esp + 0x14], ebx
push 0
call dword [sym.imp.msvcrt.dll_time]
add esp, 4
jmp 0x404436
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x80]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, edi
mov edx, 0x39
call fcn.00403b20
lea ecx, [esp + 0x3c]
test al, al
je 0x40445d
push ecx
call dword [sym.imp.msvcrt.dll_gmtime]
jmp 0x404464
push ecx
call dword [sym.imp.msvcrt.dll_localtime]
add esp, 4
mov ecx, dword [eax + 0x20]
mov dword [esp + 0xa0], ecx
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x90], xmm1
movaps xmmword [esp + 0x80], xmm0
sub esp, 0x38
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [esp + 0xb8]
movaps xmm1, xmmword [esp + 0xc8]
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [esp + 0x34], 0
call fcn.00406556
add esp, 0x38
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4046ae
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ebx
push dword [ebp + 0x1c]
call eax
add esp, 0x10
test eax, eax
je 0x4046ae
mov ecx, edi
mov edx, 0x2f
mov esi, eax
call fcn.00403b20
mov byte [ebx + 0x15], al
mov ecx, ebx
mov dword [esp + 0x38], esi
push esi
call fcn.004064d8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov byte [eax + 0x51], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov byte [eax + 0x54], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov byte [eax + 0x50], 1
mov eax, dword [ebx]
mov dword [esp + 0xc], ebx
mov ecx, ebx
call dword [eax + 0x14]
mov byte [eax + 0x52], 1
mov dword [esp + 0x78], 0x10
lea ecx, [esp + 0x24]
push 0x10
push edi
call fcn.0040664c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x404660
nop word cs:[eax + eax]
lea esi, [eax + 1]
test byte [eax], 1
mov ecx, esi
je 0x40458d
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax]
test cl, 1
je 0x4045a0
mov ecx, dword [eax + 4]
jmp 0x4045a2
shr ecx, 1
mov dword [esp + 0x20], ecx
mov byte [esp + 0xb], 0x3d
mov eax, 1
mov dword [esp + 0x74], eax
lea eax, [esp + 0xb]
mov dword [esp + 0x70], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x28]
call fcn.0040667c
cmp eax, 0xffffffff
mov dword [esp + 4], esi
je 0x404600
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
inc eax
cmp ebx, eax
cmovb eax, ebx
lea ecx, [edi + eax]
sub ebx, eax
jmp 0x40460c
xor ecx, ecx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov esi, edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
sub esp, 0x10
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
call dword [eax + 0x3c]
test al, al
jne 0x4047f7
mov ecx, dword [esp + 4]
add ecx, 0xb
mov eax, ecx
cmp ecx, dword [esp + 0x10]
jne 0x404580
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 1
call dword [eax + 0x28]
movzx edi, al
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4047d9
mov ebx, dword [esp + 0x28]
mov eax, esi
cmp ebx, esi
jne 0x40469b
jmp 0x4047c8
add ebx, 0xfffffff4
cmp ebx, esi
je 0x4047c4
test byte [ebx - 0xc], 1
je 0x404690
push dword [ebx - 4]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x404690
call fcn.004065bc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00406622
add esp, 0x10
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x2e
ja 0x404712
mov ecx, eax
push 0x2f
push str.this_target_does_not_support_assembly_parsing._n
call fcn.004064ea
mov edi, 1
test ebx, ebx
jne 0x4047e6
jmp 0x4047ed
movups xmm0, xmmword [0x4087d2]
movups xmmword [ecx + 0x1f], xmm0
movups xmm0, xmmword [0x4087c3]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [str.this_target_does_not_support_assembly_parsing._n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x2f
mov edi, 1
test ebx, ebx
jne 0x4047e6
jmp 0x4047ed
movups xmm0, xmmword [str.invalid_timestamp_]
movups xmmword [ecx], xmm0
mov dword [ecx + 0xf], 0x2720706d
mov ecx, dword [eax + 0x10]
add ecx, 0x13
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, esi
jae 0x4043d4
mov ecx, eax
push esi
push dword [esp + 8]
call fcn.004064ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 0x35
jbe 0x404400
movsd xmm0, qword [0x4087aa]
movsd qword [ecx + 0x2e], xmm0
movups xmm0, xmmword [0x40879c]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x40878c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [str.__must_be_expressed_in_seconds_since_the_UNIX_epoch._n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x36
mov edi, 1
jmp 0x4047ed
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4047ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 4], esi
call fcn.004065bc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00406622
add esp, 0x10
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x13
ja 0x40485a
mov ecx, eax
push 0x14
push str.cant_define_macro_
call fcn.004064ea
mov ecx, dword [eax + 0x10]
jmp 0x404874
movups xmm0, xmmword [str.cant_define_macro_]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0x27206f72
mov ecx, dword [eax + 0x10]
add ecx, 0x14
mov dword [eax + 0x10], ecx
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, esi
jae 0x40489a
mov ecx, eax
push esi
push dword [esp + 0x34]
call fcn.004064ea
mov ecx, dword [eax + 0x10]
jmp 0x4048bc
test esi, esi
je 0x4048bc
push esi
push dword [esp + 0x34]
push ecx
mov ebx, eax
call sub.msvcrt.dll_memcpy
mov eax, ebx
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax + 0x10]
add ecx, esi
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 4
ja 0x404920
mov ecx, eax
push 5
push str.__
call fcn.004064ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, edi
jb 0x40493c
test edi, edi
je 0x4048fe
push edi
push dword [esp + 0x38]
push ecx
mov esi, eax
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0xc
mov ecx, dword [esi + 0x10]
add ecx, edi
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 1
ja 0x404955
mov ecx, eax
push 2
push 0x4070c7
call fcn.004064ea
mov edi, 1
jmp 0x404672
mov byte [ecx + 4], 0x27
mov dword [ecx], 0x203d2027
mov ecx, dword [eax + 0x10]
add ecx, 5
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, edi
jae 0x4048e0
mov ecx, eax
push edi
push dword [esp + 0x38]
call fcn.004064ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 1
jbe 0x404908
mov word [ecx], 0xa27
add dword [eax + 0x10], 2
mov edi, 1
jmp 0x404672