Function at 0x10077e90
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10112146
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], 1
call edx
mov ebx, dword [esi]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xcc]
call eax
cmp eax, 0xffffffff
je 0x10078128
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebp + 0x10]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xdc]
call eax
test eax, 0xffff
jne 0x10078128
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [esp + 0x70]
add esp, 4
push edx
call dword [sym.imp.MSVCR80.dll__gmtime64]
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
add esp, 4
call edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax]
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
add esp, 4
add ebx, 0xe4
call eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ebx]
push eax
push esi
call edx
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
call fcn.10060840
mov dword [esp + 0x28], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc0], ebx
call fcn.10060840
mov dword [esp + 0x1c], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x64]
mov byte [esp + 0xc4], 1
push edx
lea ebx, [esp + 0x20]
mov dword [esp + 0x44], eax
call fcn.1005c0b0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
call edx
test eax, eax
jbe 0x100780ae
mov ebx, esi
mov dword [esp + 0x14], esi
mov edi, edi
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ebx]
mov eax, dword [eax + 0xec]
push 0
push edx
call eax
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
mov dword [esp + 0x34], esi
call eax
mov ecx, eax
mov eax, dword [ebx]
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x40], ecx
jne 0x10078142
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x48], eax
call fcn.1005c0b0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x1c]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
add esi, 1
add ebx, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], ebx
call edx
cmp esi, eax
jb 0x10078030
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
cmp eax, dword [esp + 0x2c]
je 0x10078201
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x70]
push ecx
mov edi, esi
call fcn.1005ed80
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x70]
push eax
mov edi, ecx
call fcn.1005ed80
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp ecx, 0xffffffff
je 0x1007807c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
lea ebx, [esp + 0x18]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
lea ecx, [ecx]
test ebx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
je 0x10078174
lea edx, [esp + 0x18]
cmp ebx, edx
je 0x1007817a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x5c], eax
je 0x1007807c
test ebx, ebx
jne 0x10078192
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [ebx + 4]
jne 0x100781a1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
cmp edx, dword [eax + 0xc]
jne 0x100781eb
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xac]
push ecx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x4c], edx
call fcn.1005c0b0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ebx, [esp + 0x20]
mov dword [esp + 0x4c], eax
call fcn.1005c0b0
lea esi, [esp + 0x58]
call fcn.1005ef30
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
jmp 0x10078160
mov edx, dword [esp + 0x28]
mov ebx, dword [edx]
lea esi, [esp + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
test esi, esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
je 0x10078227
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x1007822d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x64]
je 0x100783f1
test esi, esi
jne 0x10078241
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x1007824c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebx + 0xc]
mov edx, dword [edx + 0xec]
push 0
push eax
call edx
mov esi, eax
xor eax, eax
mov word [esp + 0x48], 0
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov word [esp + 0x56], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
call edx
test eax, eax
jne 0x100783bf
movzx ecx, word [esp + 0x52]
movzx edx, word [esp + 0x54]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
movzx eax, word [esp + 0x50]
mov dword [esp + 0x80], eax
movzx eax, word [esp + 0x48]
mov dword [esp + 0x7c], ecx
movzx ecx, word [esp + 0x4a]
sub eax, 0x76c
sub ecx, 1
mov dword [esp + 0x78], edx
movzx edx, word [esp + 0x4e]
mov dword [esp + 0x8c], eax
movzx eax, word [esp + 0x4c]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], eax
call dword [sym.imp.MSVCR80.dll__mktime64]
add esp, 4
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__difftime64]
add esp, 0x10
call fcn.1010ee16
push 0
push 0x15180
push edx
push eax
call fcn.1010ed30
mov esi, eax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov ecx, dword [esp + 0x34]
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x38]
cmp edx, dword [ecx + 4]
jne 0x10078391
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0xc], eax
je 0x100783de
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x100783a9
cmp esi, dword [ebp + 0x14]
jmp 0x100783b6
cmp eax, 1
jne 0x100783b3
cmp ebx, dword [ebp + 0x14]
jmp 0x100783b6
cmp edi, dword [ebp + 0x14]
jl 0x100783de
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea esi, [esp + 0x34]
call fcn.1005ef30
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x10078213
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x30], 0
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x70]
push ecx
mov edi, esi
call fcn.1005ed80
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
xor eax, eax
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x70]
push eax
mov edi, ecx
call fcn.1005ed80
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c