Function at 0x100045a0
Capabilities:
Get hostname
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100711c3
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x10093054]
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 - 0x1a8], edi
cmp byte [edi + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b4], eax
lea eax, [edi + 4]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1ac], eax
je 0x100045fa
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [edi + 0x20], 0
je 0x10004611
cmp dword [edi + 0x34], 0
je 0x10005568
mov eax, dword [0x10095654]
mov ecx, 1
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x78]
shr eax, 0x14
cmp eax, ecx
jge 0x10004648
call sub.KERNEL32.dll_GetCurrentProcessId
cmp dword [0x100959ac], eax
jne 0x10004643
cmp dword [edi + 0x6c], 0
jne 0x1000530d
jmp 0x10004674
mov dword [0x100959ac], eax
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x10004658
push eax
call fcn.10056245
add esp, 4
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0x1f
inc dword [edi + 0x7c]
cmp dword [edi + 0x7c], 0x20
jne 0x10005568
lea eax, [ebp + 0xc]
mov dword [edi + 0x7c], 0
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.1005aa67
add esp, 4
lea ecx, [ebp - 0x250]
call fcn.100077a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x250]
push dword [0x100959ac]
push dword [ebp - 0x194]
mov eax, dword [eax + 4]
push 0
push 2
mov byte [ebp + eax - 0x210], 0x30
lea eax, [ebp - 0x2f8]
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x378]
push dword [ebp - 0x190]
push 0
push 2
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x368]
push dword [ebp - 0x18c]
push 0
push 2
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x358]
push dword [ebp - 0x188]
push 0
push 2
push eax
call fcn.100708b5
mov ecx, dword [ebp - 0x184]
add esp, 0xc
inc ecx
mov edi, eax
lea eax, [ebp - 0x348]
push ecx
push 0
push 2
push eax
call fcn.100708b5
mov ecx, dword [ebp - 0x180]
add esp, 0xc
add ecx, 0x76c
mov esi, eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.100079d0
mov edx, esi
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov edx, edi
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x2d
mov ecx, eax
call fcn.1000ab50
mov edx, dword [ebp - 0x1a4]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov edx, dword [ebp - 0x1a0]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov edx, dword [ebp - 0x198]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x2e
mov ecx, eax
call fcn.1000ab50
mov ecx, eax
call fcn.100079d0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x250]
call fcn.100076c0
mov edi, dword [ebp - 0x1a8]
mov byte [ebp - 4], 2
cmp byte [edi + 0x20], 0
je 0x1000484b
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.10004160
test al, al
jne 0x10004f65
push str.Could_not_create_log_file
call fcn.1005aabe
add esp, 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
cmovae eax, dword [ebp - 0x38]
push eax
push str.COULD_NOT_CREATE_LOGFILE__s__n
push 2
call fcn.10056104
add esp, 4
push eax
call fcn.100021b0
add esp, 0xc
jmp 0x100054a8
mov eax, dword [0x100a5198]
mov edx, str.UNKNOWN
test eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
cmovne edx, eax
mov dword [ebp - 0x3c], 0xf
mov ecx, edx
mov byte [ebp - 0x50], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004878
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10007e00
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x198], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100048e8
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100048d0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10007e00
jmp 0x100048f3
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
push 0x10093aec
lea ecx, [ebp - 0xb0]
call fcn.10008230
mov byte [ebp - 4], 5
cmp dword [ebp - 0xa0], 0
jne 0x10004922
push 0xc
push str.invalid_user
lea ecx, [ebp - 0xb0]
call fcn.10007e00
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x19c], 0x2e
cmp ecx, 0x7fffffff
je 0x1000559d
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x19c]
push 1
push edx
push ecx
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push ecx
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x158]
call fcn.1000be30
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x128]
call fcn.1000aa20
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x110]
call fcn.1000aad0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0xf8]
call fcn.1000aa20
mov ecx, eax
add esp, 8
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 9
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 5
jb 0x100049ee
lea eax, [edx + 5]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x100049cf
mov eax, dword [ecx]
push 5
lea esi, [eax + edx]
push str..log.
push esi
call fcn.1004e8c0
mov eax, dword [ebp - 0x198]
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x10004a0c
push 5
lfence
push str..log.
mov byte [ebp - 0x198], 0
push dword [ebp - 0x198]
push 5
call fcn.1000b380
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x80]
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0xc8]
push dword [eax*4 + 0x1008a768]
call fcn.1000a950
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe0]
call fcn.1000aad0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x10004ad2
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x10004ab0
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004aa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x10004b0c
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004b02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
cmp edx, 0x10
jb 0x10004b65
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004b5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp edx, 0x10
jb 0x10004bb8
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004bae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x10004c08
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004bfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x10004c61
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp edx, 0x10
jb 0x10004cba
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004cb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x10004d13
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004d09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 0x158], 0
call fcn.10006850
mov dword [ebp - 0x1a0], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x100053c9
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x198]
sub eax, ecx
cmp eax, 1
jb 0x1000559d
lfence
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10004d56
mov eax, dword [esi]
push 1
push 0x1008ac9c
push ecx
push eax
push ecx
push edx
lea ecx, [ebp - 0x170]
call fcn.1000be30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x140]
call fcn.1000aa20
mov ecx, eax
add esp, 4
lea eax, [edi + 0x24]
mov dword [ebp - 0x198], ecx
cmp eax, ecx
je 0x10004e07
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x10004dd5
mov eax, dword [eax]
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x10004dc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
mov eax, edx
push ecx
push eax
call fcn.1004ce37
mov ecx, dword [ebp - 0x198]
lea eax, [edi + 0x24]
add esp, 8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x10004e41
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp edx, 0x10
jb 0x10004e9a
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a2
push edx
push ecx
call fcn.1004ce37
add esp, 8
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.10004160
test al, al
jne 0x10004eb7
mov eax, dword [ebp - 0x1a0]
add esi, 0x18
jmp 0x10004d27
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x10004ef5
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004eeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10004f2d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x10004f65
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
push ecx
lea ecx, [ebp - 0x2e8]
call fcn.100077a0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2e8]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x2a8], 0x30
call fcn.100033a0
push str.Running_on_machine:
push dword [ebp - 0x194]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x338]
push 0
push 2
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x328]
push dword [ebp - 0x190]
push 0
push 2
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x318]
push dword [ebp - 0x18c]
push 0
push 2
push eax
call fcn.100708b5
add esp, 0xc
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x388]
push dword [ebp - 0x188]
push 0
push 2
push eax
call fcn.100708b5
mov ecx, dword [ebp - 0x184]
add esp, 0xc
inc ecx
mov edi, eax
lea eax, [ebp - 0x308]
push ecx
push 0
push 2
push eax
call fcn.100708b5
mov ecx, dword [ebp - 0x180]
add esp, 0xc
add ecx, 0x76c
mov esi, eax
lea eax, [ebp - 0x2e8]
push ecx
push str.Log_file_created_at:
push eax
call fcn.1000ade0
add esp, 8
mov ecx, eax
call fcn.100079d0
mov dl, 0x2f
mov ecx, eax
call fcn.1000ab50
mov edx, esi
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x2f
mov ecx, eax
call fcn.1000ab50
mov edx, edi
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x20
mov ecx, eax
call fcn.1000ab50
mov edx, dword [ebp - 0x198]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x3a
mov ecx, eax
call fcn.1000ab50
mov edx, dword [ebp - 0x1a0]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0x3a
mov ecx, eax
call fcn.1000ab50
mov edx, dword [ebp - 0x1a4]
mov ecx, eax
call fcn.1000adb0
mov ecx, eax
call fcn.100079d0
mov dl, 0xa
mov ecx, eax
call fcn.1000ab50
push eax
call fcn.1000ade0
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x10005100
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
push edx
call fcn.1000bfc0
add esp, 0xc
mov dl, 0xa
mov ecx, eax
push str.threadid_file:line__msg
push str.Log_line_format:__IWEF_mmdd_hh:mm:ss.uuuuuu
call fcn.1000ab50
push eax
call fcn.1000ade0
add esp, 8
push eax
call fcn.1000ade0
add esp, 8
mov dl, 0xa
mov ecx, eax
call fcn.1000ab50
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.100076c0
mov edi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x98]
mov esi, dword [ebp - 0x88]
cmp dword [ebp - 0x84], 0x10
push dword [edi + 0x6c]
cmovae eax, dword [ebp - 0x98]
push esi
push 1
push eax
call fcn.100564e8
add dword [edi + 0x78], esi
add esp, 0x10
add dword [edi + 0x74], esi
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x100051bc
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100051b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2ec], eax
lea ecx, [ebp - 0x2e4]
call fcn.10007270
mov eax, dword [ebp - 0x2e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2ec], eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004c5ec
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x10005285
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000527b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x254], eax
lea ecx, [ebp - 0x24c]
call fcn.10007270
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x254], eax
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0x10
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004c5ec
add esp, 4
cmp byte [0x100958a3], 0
jne 0x1000539e
call fcn.10057517
mov esi, dword [ebp + 0x18]
mov dword [eax], 0
push dword [edi + 0x6c]
push esi
push 1
push dword [ebp - 0x1b4]
call fcn.100564e8
add esp, 0x10
cmp byte [0x100955ef], 0
je 0x1000535b
call fcn.10057517
cmp dword [eax], 0x1c
jne 0x1000535b
mov byte [0x100958a3], 1
jmp 0x10005568
mov eax, dword [edi + 0x74]
add dword [edi + 0x78], esi
add eax, esi
cmp byte [ebp + 8], 0
mov dword [edi + 0x74], eax
jne 0x10005392
cmp eax, 0xf4240
jae 0x10005392
call fcn.1000c740
cmp edx, dword [edi + 0x84]
jl 0x10005568
jg 0x10005392
cmp eax, dword [edi + 0x80]
jb 0x10005568
mov ecx, edi
call fcn.10004110
jmp 0x10005568
call fcn.1000c740
cmp edx, dword [edi + 0x84]
jl 0x10005568
jg 0x100053bd
cmp eax, dword [edi + 0x80]
jb 0x10005568
mov byte [0x100958a3], 0
jmp 0x10005568
push str.Could_not_create_logging_file
call fcn.1005aabe
add esp, 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
cmovae eax, dword [ebp - 0x38]
push eax
push str.COULD_NOT_CREATE_A_LOGGINGFILE__s_
push 2
call fcn.10056104
add esp, 4
push eax
call fcn.100021b0
mov byte [ebp - 4], 4
add esp, 0xc
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x10005438
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000542e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10005470
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x100054a8
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000549e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100054e0
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100054d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a7
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x254], eax
lea ecx, [ebp - 0x24c]
call fcn.10007270
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x254], eax
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004c5ec
add esp, 4
mov eax, dword [ebp - 0x1b8]
cmp byte [eax + 0x18], 0
je 0x10005580
push dword [ebp - 0x1ac]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.1004ce45
mov esp, ebp
pop ebp
ret 0x14
call fcn.10002460
call fcn.10051daf
call fcn.10051daf
int3