Function at 0x4071c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cfac
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
mov dword [ebp - 0xcc], edi
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
mov dword [edi], 0
movups xmmword [ecx], xmm0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x90], eax
mov eax, dword [str.logs]
mov dword [ecx], eax
mov dword [ebp - 0xb0], ecx
mov byte [ecx + 4], 0
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.log.txt]
mov dword [ecx], eax
mov ax, word [0x43f754]
mov word [ecx + 4], ax
mov al, byte [0x43f756]
mov byte [ecx + 6], al
mov dword [ebp - 0x9c], ecx
mov byte [ecx + 7], 0
movups xmmword [edi + 0x34], xmm0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
lea eax, [edi + 0x4c]
movups xmmword [eax], xmm0
lea ecx, [eax + 0x10]
mov dword [eax + 0x14], 0xf
mov dword [ecx], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xc4], ecx
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x6c], eax
xor eax, eax
mov dword [edi + 0x64], 0
movups xmmword [edi + 0x70], xmm0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 7
mov word [edi + 0x70], ax
mov dword [edi + 0x88], eax
lea eax, [edi + 0x8c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.00419c77
lea eax, [edi + 0xbc]
push eax
call fcn.00419e53
lea esi, [edi + 0xe4]
mov byte [ebp - 4], 7
mov dword [ebp - 0xb4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0041b82f
add esp, 0x10
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [edi + 0xf8], 0
mov byte [ebp - 4], 9
mov byte [edi + 0xfc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi], eax
lea esi, [edi + 0x34]
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], 0x7fffffff
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x40751c
lea ecx, [edi + 4]
cmp esi, ecx
je 0x407531
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x98], eax
jbe 0x4073eb
mov ecx, dword [ecx]
mov dword [ebp - 0xb0], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xb4], edx
cmp eax, edx
ja 0x407432
mov dword [ebp - 0x94], esi
cmp edx, 0xf
jbe 0x40740d
mov edx, dword [esi]
mov dword [ebp - 0x94], edx
jmp 0x40740f
mov edx, esi
push eax
push ecx
push edx
mov dword [esi + 0x10], eax
call fcn.0041d110
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov ecx, dword [ebp - 0x94]
mov byte [ecx + eax], 0
jmp 0x407531
cmp eax, 0x7fffffff
ja 0x407df3
mov ecx, eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x407451
mov ecx, 0x7fffffff
jmp 0x40747f
mov eax, edx
shr eax, 1
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x94]
cmp edx, eax
jbe 0x407472
mov ecx, 0x7fffffff
jmp 0x40747f
mov eax, dword [ebp - 0x94]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], ecx
push eax
push esi
call fcn.00401ac0
mov ecx, dword [ebp - 0x98]
mov edx, eax
mov eax, dword [ebp - 0x94]
push ecx
push dword [ebp - 0xb0]
mov dword [ebp - 0xa0], edx
push edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
call fcn.0041d110
mov eax, dword [ebp - 0x98]
add esp, 0x14
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xb4]
cmp eax, 0xf
jbe 0x407518
mov ecx, dword [esi]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x407504
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0xb4], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x407df8
mov ecx, dword [ebp - 0xb4]
push edx
push ecx
call fcn.0041b85f
mov eax, dword [ebp - 0xa0]
add esp, 8
mov dword [esi], eax
jmp 0x407531
mov dword [esi], ecx
jmp 0x407531
cmp esi, eax
je 0x407531
cmp dword [eax + 0x14], 0xf
jbe 0x407528
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00412f30
mov eax, dword [ebp - 0x90]
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x407684
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
cmp edi, ecx
je 0x40769d
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x98], eax
jbe 0x40756d
mov ecx, dword [ecx]
mov dword [ebp - 0x9c], ecx
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x90], edx
cmp eax, edx
ja 0x4075a3
cmp edx, 0xf
jbe 0x407581
mov edi, dword [edi]
mov edx, dword [ebp - 0xc4]
push eax
push ecx
push edi
mov dword [edx], eax
call fcn.0041d110
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x40769d
cmp eax, 0x7fffffff
ja 0x407df3
mov ecx, eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4075c2
mov ecx, 0x7fffffff
jmp 0x4075e2
mov eax, edx
shr eax, 1
sub dword [ebp - 0xc0], eax
cmp edx, dword [ebp - 0xc0]
jbe 0x4075db
mov ecx, 0x7fffffff
jmp 0x4075e2
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], ecx
push eax
push edi
call fcn.00401ac0
mov ecx, dword [ebp - 0x98]
mov edx, eax
mov eax, dword [ebp - 0xc4]
push ecx
push dword [ebp - 0x9c]
mov dword [ebp - 0xb0], edx
mov dword [eax], ecx
mov eax, dword [ebp - 0xa0]
push edx
mov dword [edi + 0x14], eax
call fcn.0041d110
mov eax, dword [ebp - 0x98]
add esp, 0x14
mov ecx, dword [ebp - 0xb0]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x90]
cmp eax, 0xf
jbe 0x407680
mov ecx, dword [edi]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x40766c
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x90], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x407df8
mov ecx, dword [ebp - 0x90]
push edx
push ecx
call fcn.0041b85f
mov eax, dword [ebp - 0xb0]
add esp, 8
mov dword [edi], eax
jmp 0x40769d
mov dword [edi], ecx
jmp 0x40769d
mov ecx, dword [ebp - 0xa4]
cmp ecx, eax
je 0x40769d
cmp dword [eax + 0x14], 0xf
jbe 0x407696
mov eax, dword [eax]
push edx
push eax
call fcn.00412f30
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x90], 0
jbe 0x4076af
mov esi, dword [esi]
push dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00401dc0
mov edi, 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.00414d40
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0x89], al
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x40771f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40770f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407df8
push ecx
push edx
call fcn.0041b85f
mov al, byte [ebp - 0x89]
add esp, 8
mov esi, dword [ebp - 0xac]
test al, al
jne 0x407824
cmp dword [esi + 0x48], 0xf
lea eax, [esi + 0x34]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0x44d038
mov byte [ebp - 0x90], 0
jbe 0x407756
mov eax, dword [eax]
push dword [ebp - 0x90]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dc0
mov edi, 0x401
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413670
add esp, 0x18
mov byte [ebp - 0x89], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00408ed0
cmp byte [ebp - 0x89], 0
jne 0x407824
push str._Error__Failed_to_create_the_log_file_directory_
push 0x44e918
add esi, 0x34
call fcn.004015e0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0xf
jbe 0x4077c2
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.004027f0
push str._._error_message:
push eax
call fcn.004015e0
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x28]
add esp, 0x14
mov esi, eax
mov eax, dword [ecx]
push dword [ebp - 0xa8]
push edx
call dword [eax + 8]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
push esi
mov byte [ebp - 4], 0xc
call fcn.004027f0
push eax
call fcn.00404490
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00408e80
mov esi, dword [ebp - 0xac]
jmp 0x407dc1
cmp dword [esi + 0x48], 0xf
lea eax, [esi + 0x34]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 0x90], 0
jbe 0x407839
mov eax, dword [eax]
push dword [ebp - 0x90]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dc0
add esp, 0x10
or edi, 0x10
xor eax, eax
mov byte [ebp - 4], 0xf
or edi, 0x40
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0x44d038
xor edx, edx
mov dword [ebp - 0xb4], edi
mov ecx, 7
mov dword [ebp - 0x30], edx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x9c], edi
cmp dword [ebp - 0x18], eax
je 0x407942
push eax
push 0x104
lea ecx, [ebp - 0x40]
call fcn.00412c00
nop dword [eax + eax]
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
push edx
push eax
mov dword [ebp - 0x90], edx
call fcn.0041a2c0
mov ecx, dword [ebp - 0x30]
mov esi, eax
mov edi, edx
mov dword [ebp - 0xa4], edi
cmp esi, ecx
ja 0x407901
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov edx, eax
jbe 0x4078f6
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x30], esi
xor esi, esi
mov word [ecx + edx*2], si
jmp 0x407912
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x40]
push 0
push eax
call fcn.00412c00
mov eax, esi
cmp eax, dword [ebp - 0x90]
jae 0x4078b0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc8], edi
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], 0x44d038
and edi, 0xffffffbf
mov dword [ebp - 4], 0xe
or edi, 0x20
mov dword [ebp - 0x9c], edi
test eax, eax
jne 0x407dfd
cmp ecx, 7
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x89]
cmova eax, dword [ebp - 0x40]
push ecx
push edx
push eax
call fcn.0041a076
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401ed0
lea eax, [esi + 0x34]
add esp, 0x14
lea ecx, [ebp - 0x58]
or edi, 0xe
cmp eax, ecx
je 0x4079fc
mov ecx, dword [eax + 0x14]
cmp ecx, 0xf
jbe 0x4079c5
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x4079b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e12
mov eax, edx
push ecx
push eax
call fcn.0041b85f
add esp, 8
lea eax, [esi + 0x34]
movups xmm0, xmmword [ebp - 0x58]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [eax], xmm0
mov byte [ebp - 0x58], 0
movq xmm0, qword [ebp - 0x48]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
jmp 0x4079ff
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x407a32
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x407a28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e12
push ecx
push edx
call fcn.0041b85f
add esp, 8
mov ecx, dword [ebp - 0x2c]
and edi, 0xffffffdf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xd
cmp ecx, 7
jbe 0x407a85
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407a7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e12
push ecx
push edx
call fcn.0041b85f
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x407ad7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407acd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e12
push ecx
push edx
call fcn.0041b85f
add esp, 8
lea eax, [esi + 0x4c]
mov ecx, esi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00414e70
cmp dword [ebp - 0x60], 0
lea eax, [esi + 0x34]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x10
mov byte [ebp - 0x90], 0
jne 0x407b8f
cmp dword [eax + 0x14], 0xf
jbe 0x407b09
mov eax, dword [eax]
push dword [ebp - 0x90]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dc0
add esp, 0x10
or edi, 0x1000
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x11
push eax
mov ecx, esi
call fcn.00415af0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00404340
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x407b4c
mov ecx, dword [eax]
lea edx, [ebp - 0x89]
push edx
push dword [eax + 0x10]
push ecx
call fcn.0041a076
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401ed0
add esp, 0x14
or edi, 0xe000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [esi + 0x70]
call fcn.00401380
lea ecx, [ebp - 0x40]
call fcn.00408e80
lea ecx, [ebp - 0x88]
jmp 0x407c01
cmp dword [eax + 0x14], 0xf
jbe 0x407b97
mov eax, dword [eax]
push dword [ebp - 0x90]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dc0
add esp, 0x10
or edi, 0x800
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x28]
call fcn.00404340
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x407bcb
mov ecx, dword [eax]
lea edx, [ebp - 0x89]
push edx
push dword [eax + 0x10]
push ecx
call fcn.0041a076
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401ed0
add esp, 0x14
or edi, 0x70000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [esi + 0x70]
call fcn.00401380
lea ecx, [ebp - 0x40]
call fcn.00408e80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00408ed0
push 0xb0
call fcn.0041b82f
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [esi + 0x84], 7
lea ecx, [esi + 0x70]
mov dword [ebp - 0xa4], ecx
jbe 0x407c3f
mov ecx, dword [ecx]
mov dword [ebp - 0xa4], ecx
lea ecx, [eax + 0x68]
mov dword [eax], 0x43f740
call fcn.00406a50
or edi, 0x100
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0x90]
push 0
mov eax, dword [edi]
lea esi, [edi + 4]
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [edi + ecx - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00415f90
mov eax, dword [edi]
mov ecx, esi
mov dword [ebp - 4], 0x19
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [edi + edx - 4], eax
call fcn.004069c0
push 0x40
push 0xa
push dword [ebp - 0xa4]
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.004166e0
test eax, eax
jne 0x407cf6
mov eax, dword [edi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, edi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
and eax, 0x17
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx + 0x10]
and ecx, eax
jne 0x407e17
mov eax, dword [edi]
mov esi, dword [ebp - 0xac]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [edi + ecx - 4], eax
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x88], edi
test ecx, ecx
je 0x407d33
mov eax, dword [ecx]
push 1
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 0x88]
cmp dword [eax + 0x50], 0
je 0x407e5c
push 8
call fcn.0041b82f
mov edi, eax
mov dword [ebp - 0xb4], edi
push 8
mov byte [ebp - 4], 0x1d
call fcn.0041b82f
mov dword [ebp - 0xa4], eax
mov dword [eax], esi
mov dword [eax + 4], 0x418510
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x1e
push ecx
push 0
push eax
push 0x402c70
push 0
push 0
mov dword [ebp - 0x90], ecx
call fcn.00424ec8
add esp, 0x20
mov dword [edi], eax
test eax, eax
je 0x407de0
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xf8], edi
test eax, eax
je 0x407db9
cmp dword [eax + 4], 0
jne 0x407ea2
push 8
push eax
call fcn.0041b85f
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00408e80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bbac
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x90]
push 6
mov dword [eax], 0
call fcn.00419f70
call fcn.004128b0
call fcn.0042072f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc8]
push eax
push str.absolute
call fcn.00412210
call fcn.0042072f
test cl, 4
je 0x407e23
mov esi, str.ios_base::badbit_set
jmp 0x407e33
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0xb8]
push 1
push eax
call fcn.004164c0
add esp, 8
lea ecx, [ebp - 0x3c]
push eax
push esi
call fcn.00408420
push 0x44b0f8
lea eax, [ebp - 0x3c]
push eax
call fcn.0041cced
lea eax, [ebp - 0x88]
lea ecx, [esi + 0x70]
push eax
call fcn.00417de0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push str.Failed_to_open_log_file:
push eax
call fcn.00401880
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
call fcn.004087f0
push 0x44b180
lea eax, [ebp - 0xbc]
push eax
call fcn.0041cced
call fcn.00424647
int3