Function at 0x418ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4720ec
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x498098]
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 esi, ecx
mov dword [ebp - 0x88], esi
mov eax, dword [0x49b888]
mov byte [esi + 0x14], 1
test al, 1
jne 0x418b2b
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 0
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x418c13
mov eax, dword [0x49b888]
test al, 1
jne 0x418b77
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 1
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 5
push 0
call dword [eax + 0x6c]
mov edi, eax
mov ecx, 0x2000
mov eax, 0x47
mov edx, dword [edi + 0x20]
lea ebx, [edi + 0x24]
sub ecx, edx
add ebx, edx
cmp ecx, eax
cmovb eax, ecx
mov ecx, ebx
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x418bc3
push eax
push str.___________________log4z_thread_started________________________________
push ebx
call fcn.0044d170
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov edx, dword [edi + 0x20]
add ecx, ebx
mov eax, dword [0x49b888]
sub edx, ebx
add edx, ecx
mov dword [edi + 0x20], edx
test al, 1
jne 0x418bfb
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 2
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 0x783
push str.e:zhanluekean_pdfconverter_srcmisclog4zlog4z.cpp
push edi
call dword [eax + 0x20]
xor edi, edi
mov dword [ebp - 0x84], edi
cmp dword [esi + 0x78], edi
jl 0x418f93
lea ebx, [esi + 0x94]
nop word [eax + eax]
cmp byte [ebx + 0x40], 0
je 0x418f7d
mov eax, dword [0x49b888]
test al, 1
jne 0x418c6b
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 3
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x418f7d
mov eax, dword [0x49b888]
test al, 1
jne 0x418cb7
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 4
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 5
push 0
call dword [eax + 0x6c]
mov edx, 0x2000
mov dword [ebp - 0x8c], eax
mov edi, 0xa
mov ecx, dword [eax + 0x20]
sub edx, ecx
add ecx, 0x24
add eax, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], eax
lea ecx, [eax + edx]
mov dword [ebp - 0x68], ecx
cmp edx, edi
jae 0x418cf8
mov edi, edx
test edx, edx
je 0x418d0a
push edi
push str.logger_id
push eax
call fcn.0044d170
add esp, 0xc
add dword [ebp - 0x64], edi
push dword [ebp - 0x84]
lea ecx, [ebp - 0x6c]
call fcn.00412f70
mov edi, eax
mov esi, 5
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi + 8]
sub eax, ecx
cmp eax, 5
cmovb esi, eax
mov eax, esi
mov dword [ebp - 0x7c], esi
test eax, eax
je 0x418d52
push eax
push str._key
push ecx
call fcn.0044d170
mov edx, dword [edi + 4]
mov eax, esi
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
cmp dword [ebx], 0x10
lea eax, [ebx - 0x14]
mov dword [ebp - 0x7c], eax
jb 0x418d62
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, edx
sub eax, ecx
cmp dword [ebx - 4], eax
cmovbe eax, dword [ebx - 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x418d8d
push eax
push dword [ebp - 0x7c]
push ecx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, edx
mov esi, 6
sub eax, ecx
cmp eax, 6
cmovb esi, eax
mov eax, esi
mov dword [ebp - 0x7c], esi
test eax, eax
je 0x418dbf
push eax
push str._name
push ecx
call fcn.0044d170
mov edx, dword [edi + 4]
mov eax, esi
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
mov dword [ebp - 0x7c], eax
jb 0x418dd0
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, edx
sub eax, ecx
cmp dword [ebx + 0x14], eax
cmovbe eax, dword [ebx + 0x14]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x418dfb
push eax
push dword [ebp - 0x7c]
push ecx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, edx
mov esi, 6
sub eax, ecx
cmp eax, 6
cmovb esi, eax
mov eax, esi
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x88]
test eax, eax
je 0x418e34
push eax
push str._path
push ecx
call fcn.0044d170
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
cmp dword [ebx + 0x30], 0x10
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x7c], eax
jb 0x418e45
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, edx
sub eax, ecx
cmp dword [ebx + 0x2c], eax
cmovbe eax, dword [ebx + 0x2c]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x418e70
push eax
push dword [ebp - 0x7c]
push ecx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
sub edx, ecx
mov eax, 7
cmp edx, eax
cmovb eax, edx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x418e98
push eax
push str._level
push ecx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
push dword [ebx + 0x34]
mov ecx, edi
call fcn.00412f70
mov edi, eax
mov eax, 9
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub ecx, edx
cmp ecx, eax
cmovb eax, ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x418ed5
push eax
push str._display
push edx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
sub eax, edx
cmp byte [ebx + 0x38], 0
je 0x418ef9
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x418f1f
push ecx
push str.true
jmp 0x418f10
mov ecx, 5
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x418f1f
push ecx
push str.false
push edx
call fcn.0044d170
mov eax, dword [ebp - 0x80]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x6c]
add dword [edi + 0x20], eax
mov eax, dword [0x49b888]
test al, 1
jne 0x418f5f
or eax, 1
mov dword [0x49b888], eax
mov dword [ebp - 4], 5
call fcn.004153f0
push 0x477a60
call fcn.0044bc8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x49a8d0]
mov ecx, 0x49a8d0
push 0x78d
push str.e:zhanluekean_pdfconverter_srcmisclog4zlog4z.cpp
push edi
call dword [eax + 0x20]
mov edi, dword [ebp - 0x84]
inc edi
add ebx, 0x88
mov dword [ebp - 0x84], edi
cmp edi, dword [esi + 0x78]
jle 0x418c30
push 0
push 1
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x50
lea eax, [ebp - 0x60]
mov dword [ebp - 0x84], 0
push 0
push eax
call fcn.0044dc70
push 0
call fcn.00453f7e
add esp, 0x10
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x7c], eax
nop word [eax + eax]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.00418950
test al, al
je 0x419013
mov edi, dword [ebp - 0x84]
mov eax, dword [edi]
test eax, eax
js 0x418ff7
cmp eax, dword [esi + 0x78]
jle 0x4190d9
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.00418950
test al, al
jne 0x418fe2
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x41906f
lea edi, [esi + 0xf8]
mov cl, byte [edi - 0x24]
mov al, cl
test cl, cl
je 0x41904a
cmp dword [ebp + ebx*4 - 0x60], 0
jle 0x41904a
mov edx, dword [edi]
test edx, edx
je 0x419042
push edx
call fcn.00454bcd
mov al, byte [edi - 0x24]
add esp, 4
mov dword [ebp + ebx*4 - 0x60], 0
test al, al
jne 0x419063
mov eax, dword [edi]
test eax, eax
je 0x419063
push eax
call fcn.00454c9c
add esp, 4
mov dword [edi], 0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x419020
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x14], 0
jne 0x41908a
cmp dword [esi + 0xc4c], 0
je 0x41929f
cmp dword [esi + 0x20], 0
je 0x418fd0
push 0
call fcn.00453f7e
mov edi, eax
add esp, 4
sub edi, dword [ebp - 0x7c]
mov ecx, edx
mov eax, dword [esi + 0x20]
sbb ecx, dword [ebp - 0x88]
cdq
cmp ecx, edx
jl 0x418fd0
jg 0x4190c1
cmp edi, eax
jbe 0x418fd0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
call dword [eax + 0x50]
push 0
call fcn.00453f7e
add esp, 4
jmp 0x418fc1
imul ebx, eax, 0x88
add ebx, esi
cmp dword [edi + 4], 0
je 0x4191ae
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x24]
push eax
push ecx
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.0040dba0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x78]
push eax
push dword [edi + 8]
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.00417280
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x419170
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419166
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419310
push edx
push ecx
call fcn.0044b5a6
add esp, 8
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
test eax, eax
je 0x41919f
push eax
call fcn.00454c9c
add esp, 4
mov dword [ebx + 0xf8], 0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x418fd0
add dword [esi + 0xfb0], 1
adc dword [esi + 0xfb4], 0
cmp byte [ebx + 0xd4], 0
je 0x419290
mov eax, dword [edi + 0xc]
cmp eax, dword [ebx + 0xc8]
jl 0x419290
cmp byte [ebx + 0xcc], 0
je 0x4191ed
push eax
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.00416410
cmp byte [ebx + 0xcd], 0
je 0x419272
push edi
mov ecx, esi
call fcn.00417fd0
test al, al
jne 0x419211
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x418fd0
mov ecx, dword [ebx + 0xf8]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x41925d
test eax, eax
je 0x41925d
push ecx
push eax
lea eax, [edi + 0x24]
push 1
push eax
call fcn.00455b76
add esp, 0x10
cmp eax, dword [ebp - 0x8c]
je 0x41925d
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x41925d
push eax
call fcn.00454c9c
add esp, 4
mov dword [ebx + 0xf8], 0
mov eax, dword [ebx + 0xf4]
add eax, dword [edi + 0x20]
mov dword [ebx + 0xf4], eax
mov eax, dword [edi]
inc dword [ebp + eax*4 - 0x60]
add dword [esi + 0xfb8], 1
adc dword [esi + 0xfbc], 0
mov eax, dword [edi + 0x20]
cdq
add dword [esi + 0xfc0], eax
adc dword [esi + 0xfc4], edx
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x418fd0
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x4192f4
lea edi, [esi + 0xf8]
nop dword [eax]
cmp byte [edi - 0x24], 0
je 0x4192e8
mov byte [edi - 0x24], 0
test ebx, ebx
js 0x4192da
cmp ebx, dword [esi + 0x78]
jg 0x4192da
mov eax, dword [edi]
test eax, eax
je 0x4192e8
push eax
call fcn.00454c9c
add esp, 4
mov dword [edi], 0
jmp 0x4192e8
push 6
push str.log4z:_closeLogger_can_not_close__invalide_logger_id___r_n
mov ecx, esi
call fcn.00416410
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x4192b0
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.0044b565
mov esp, ebp
pop ebp
ret
call fcn.004509d9
int3