Function at 0x1011afd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016159f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x101c2db4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xfc], edi
cmp byte [edi + 0x1c], 0
lea ebx, [edi + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], ebx
je 0x1011b02a
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x20], 0
mov dword [ebp - 4], 0
je 0x1011b041
cmp dword [edi + 0x34], 0
je 0x1011ba9a
mov ecx, dword [0x101dbc38]
mov edx, 1
lea eax, [ecx - 1]
cmp eax, 0xffe
mov eax, dword [edi + 0x7c]
cmovbe edx, ecx
shr eax, 0x14
cmp eax, edx
jae 0x1011b06a
call fcn.1011d400
test al, al
je 0x1011b0a0
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x1011b07a
push eax
call fcn.10138e06
add esp, 4
mov dword [edi + 0x6c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0x1f
cmp dword [edi + 0x6c], 0
jne 0x1011b9d9
inc dword [edi + 0x80]
cmp dword [edi + 0x80], 0x20
jne 0x1011ba9a
lea eax, [ebp - 0xf4]
mov dword [edi + 0x80], 0
cmp byte [0x101dbbe8], 0
push eax
lea eax, [ebp + 0xc]
push eax
je 0x1011b0e2
call fcn.1011d520
jmp 0x1011b0e7
call fcn.1011d540
add esp, 8
lea ecx, [ebp - 0x1ac]
push 1
push 2
call fcn.10116a30
mov eax, dword [ebp - 0x1ac]
push 0
push 2
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x16c], 0x30
lea eax, [ebp - 0x10c]
push eax
call fcn.1015b686
mov ecx, dword [ebp - 0xe0]
add esp, 0xc
add ecx, 0x76c
mov dword [ebp - 0xf8], eax
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.101176a0
mov esi, eax
test esi, esi
jne 0x1011b149
xor ecx, ecx
jmp 0x1011b150
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0xf8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x254]
push 2
push eax
call fcn.1015b686
mov ecx, dword [ebp - 0xe4]
add esp, 0x18
inc ecx
mov dword [ebp - 0xf8], eax
push ecx
mov ecx, esi
call fcn.101176a0
mov esi, eax
test esi, esi
jne 0x1011b193
xor ecx, ecx
jmp 0x1011b19a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0xf8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x264]
push 2
push eax
call fcn.1015b686
add esp, 0x18
mov dword [ebp - 0xf8], eax
mov ecx, esi
push 0x2d
push dword [ebp - 0xe8]
call fcn.101176a0
push eax
call fcn.10116220
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011b1e6
xor ecx, ecx
jmp 0x1011b1ed
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0xf8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x274]
push 2
push eax
call fcn.1015b686
add esp, 0x18
mov dword [ebp - 0xf8], eax
mov ecx, esi
push dword [ebp - 0xec]
call fcn.101176a0
mov esi, eax
test esi, esi
jne 0x1011b22e
xor ecx, ecx
jmp 0x1011b235
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0xf8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x284]
push 2
push eax
call fcn.1015b686
add esp, 0x18
mov dword [ebp - 0xf8], eax
mov ecx, esi
push dword [ebp - 0xf0]
call fcn.101176a0
mov esi, eax
test esi, esi
jne 0x1011b276
xor ecx, ecx
jmp 0x1011b27d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0xf8]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
add esp, 0xc
call fcn.1011d240
push eax
push 0x2e
push dword [ebp - 0xf4]
mov ecx, esi
call fcn.101176a0
push eax
call fcn.10116220
add esp, 8
mov ecx, eax
call fcn.101176a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.1011c770
cmp byte [edi + 0x20], 0
mov byte [ebp - 4], 2
je 0x1011b318
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.101182b0
test al, al
jne 0x1011b5ff
push str.Could_not_create_log_file
call fcn.1014cbd2
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.COULD_NOT_CREATE_LOGFILE__s__n
push 2
call fcn.101386da
add esp, 4
push eax
call fcn.10028190
add esp, 0xc
jmp 0x1011b54b
call fcn.1011d420
push eax
lea ecx, [ebp - 0x70]
call fcn.10029020
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.10118750
add esp, 4
call fcn.1011d380
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10028b90
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
jne 0x1011b383
push str.invalid_user
lea ecx, [ebp - 0x40]
call fcn.10029900
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.10028b90
call fcn.101187f0
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x1011b4a5
mov eax, dword [ebp - 0xfc]
add eax, 0x24
mov dword [ebp - 0xf8], eax
push 0x10166ee0
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.10025f30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10026030
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0xf8]
cmp ecx, edx
je 0x1011b431
cmp dword [ecx + 0x14], 0x10
jb 0x1011b40e
mov eax, dword [ecx + 0x14]
inc eax
push eax
push dword [ecx]
call fcn.10029170
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x100]
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1011b426
mov eax, dword [ecx]
jmp 0x1011b428
mov eax, ecx
push edx
mov byte [eax], 0
call fcn.10028970
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x1011b44c
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.10029170
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x1011b483
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.10029170
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x28]
push eax
call fcn.101182b0
test al, al
jne 0x1011b59f
add esi, 0x18
cmp esi, edi
jne 0x1011b3b4
push str.Could_not_create_logging_file
call fcn.1014cbd2
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.COULD_NOT_CREATE_A_LOGGINGFILE__s_
push 2
call fcn.101386da
add esp, 4
push eax
call fcn.10028190
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, 0x10
jb 0x1011b4eb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10029170
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1011b512
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10029170
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1011b539
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10029170
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1011b560
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10029170
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.101170d0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10032ab3
add esp, 4
jmp 0x1011ba9a
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1011b5b4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10029170
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1011b5db
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10029170
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 2
call fcn.10029130
mov edi, dword [ebp - 0xfc]
cmp byte [0x101dbbe7], 0
je 0x1011b986
push 1
push 2
lea ecx, [ebp - 0x244]
call fcn.10116a30
mov eax, dword [ebp - 0x244]
push 0
push 2
mov byte [ebp - 4], 9
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x204], 0x30
lea eax, [ebp - 0x294]
push eax
call fcn.1015b686
mov ecx, dword [ebp - 0xe0]
add esp, 0xc
add ecx, 0x76c
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x244]
push 0x2f
push ecx
push str.Log_file_created_at:
push eax
call fcn.1002ec50
add esp, 8
mov ecx, eax
call fcn.101176a0
push eax
call fcn.10116220
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011b686
xor ecx, ecx
jmp 0x1011b68d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0x100]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x2a4]
push 2
push eax
call fcn.1015b686
mov ecx, dword [ebp - 0xe4]
add esp, 0x18
inc ecx
mov dword [ebp - 0x100], eax
push 0x2f
push ecx
mov ecx, esi
call fcn.101176a0
push eax
call fcn.10116220
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011b6db
xor ecx, ecx
jmp 0x1011b6e2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0x100]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x2b4]
push 2
push eax
call fcn.1015b686
add esp, 0x18
mov dword [ebp - 0x100], eax
mov ecx, esi
push 0x20
push dword [ebp - 0xe8]
call fcn.101176a0
push eax
call fcn.10116220
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011b72e
xor ecx, ecx
jmp 0x1011b735
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0x100]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
push 0
lea eax, [ebp - 0x2c4]
push 2
push eax
call fcn.1015b686
add esp, 0x18
mov dword [ebp - 0x100], eax
mov ecx, esi
push 0x3a
push dword [ebp - 0xec]
call fcn.101176a0
push eax
call fcn.10116220
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011b781
xor ecx, ecx
jmp 0x1011b788
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ebp - 0x100]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
add esp, 0xc
push 0xa
call fcn.1011be30
cmp byte [0x101dbbe8], 0
mov ecx, 0x10169100
push eax
push str.Running_on_machine:
mov eax, str._UTC_n
cmove eax, ecx
push eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0x2d4]
push 0
push 2
push eax
call fcn.1015b686
add esp, 0xc
mov ecx, esi
push eax
push 0x3a
push dword [ebp - 0xf0]
call fcn.101176a0
push eax
call fcn.10116220
add esp, 8
push eax
call fcn.101161f0
add esp, 8
mov ecx, eax
call fcn.101176a0
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.100302d0
add esp, 8
push eax
call fcn.10116220
add esp, 8
cmp dword [0x101d450c], 0
je 0x1011b85a
push 0xa
push 0x101d44fc
lea eax, [ebp - 0x244]
push str.Application_fingerprint:
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.100302d0
add esp, 8
push eax
call fcn.10116220
add esp, 8
cmp byte [0x101dbbe9], 0
mov eax, str.mmdd_hh:mm:ss.uuuuuu
mov esi, str.yyyymmdd_hh:mm:ss.uuuuuu
cmove esi, eax
call fcn.1011d470
fsub qword [edi + 0x90]
fstp qword [ebp - 0x104]
cvttsd2si eax, qword [ebp - 0x104]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.10119d60
add esp, 8
push 0xa
push str.threadid_file:line__msg
push 0x101b4d5c
push esi
push str.Log_line_format:__IWEF_
push 0xa
push eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xa
push str.Running_duration__h:mm:ss_:
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.100302d0
add esp, 8
push eax
call fcn.10116220
add esp, 8
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.1002ec50
add esp, 8
push eax
call fcn.10116220
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.10029130
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x244]
call fcn.1011c770
push dword [edi + 0x6c]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
push esi
cmovae eax, dword [ebp - 0xa0]
push 1
push eax
call fcn.10138d38
add dword [edi + 0x7c], esi
lea ecx, [ebp - 0xa0]
add dword [edi + 0x74], esi
add esp, 0x10
call fcn.10029130
lea ecx, [ebp - 0x1f4]
call fcn.101170d0
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10032ab3
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1011b99b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10029170
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.101170d0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10032ab3
add esp, 4
mov byte [ebp - 4], 0
cmp byte [0x101dbbeb], 0
jne 0x1011ba7c
call fcn.1013855a
mov esi, dword [ebp + 0x18]
mov dword [eax], 0
push dword [edi + 0x6c]
push esi
push 1
push dword [ebp - 0x114]
call fcn.10138d38
add esp, 0x10
cmp byte [0x101dbbe5], 0
je 0x1011ba24
call fcn.1013855a
cmp dword [eax], 0x1c
jne 0x1011ba24
mov byte [0x101dbbeb], 1
jmp 0x1011ba9a
mov eax, dword [edi + 0x74]
add dword [edi + 0x7c], esi
add eax, esi
cmp byte [ebp + 8], 0
mov dword [edi + 0x74], eax
jne 0x1011ba53
cmp eax, 0xf4240
jae 0x1011ba53
call fcn.1011d020
cmp edx, dword [edi + 0x8c]
jl 0x1011ba9a
jg 0x1011ba53
cmp eax, dword [edi + 0x88]
jb 0x1011ba9a
mov ecx, edi
call fcn.10118700
cmp byte [0x101c2df8], 0
je 0x1011ba9a
lea eax, [edi + 0x54]
mov ecx, 0x101c2df8
push eax
lea eax, [edi + 0x24]
push eax
movzx eax, byte [edi + 0x20]
push eax
call fcn.1011a010
jmp 0x1011ba9a
call fcn.1011d020
cmp edx, dword [edi + 0x8c]
jl 0x1011ba9a
jg 0x1011ba93
cmp eax, dword [edi + 0x88]
jb 0x1011ba9a
mov byte [0x101dbbeb], 0
cmp byte [ebx + 0x18], 0
je 0x1011baac
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011480c
mov esp, ebp
pop ebp
ret 0x14