Function at 0x48cd00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fceec
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x53a098]
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 eax, dword [0x53ebd8]
mov byte [esi + 0x14], 1
test al, 1
jne 0x48cd65
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 0
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x48ce4c
mov eax, dword [0x53ebd8]
test al, 1
jne 0x48cdb1
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 1
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 5
push 0
call dword [eax + 0x6c]
mov edi, eax
mov ecx, 0x2000
mov edx, 0x47
sub ecx, dword [edi + 0x20]
lea ebx, [edi + 0x24]
add ebx, dword [edi + 0x20]
cmp ecx, edx
mov eax, ebx
cmovb edx, ecx
mov dword [ebp - 0x7c], edx
test edx, edx
je 0x48cdf9
push edx
push str.___________________log4z_thread_started________________________________
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add eax, ebx
mov ecx, dword [edi + 0x20]
sub eax, ebx
add eax, ecx
mov dword [edi + 0x20], eax
mov eax, dword [0x53ebd8]
test al, 1
jne 0x48ce34
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 2
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 0x783
push str.e:zhanluekean_pdfconverter_srcmisclog4zlog4z.cpp
push edi
call dword [eax + 0x20]
xor edi, edi
mov dword [ebp - 0x8c], edi
cmp dword [esi + 0x78], edi
jl 0x48d202
lea ebx, [esi + 0x80]
mov dword [ebp - 0x80], ebx
cmp byte [ebx + 0x54], 0
je 0x48d1e9
mov eax, dword [0x53ebd8]
test al, 1
jne 0x48cea1
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 3
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x48d1e9
mov eax, dword [0x53ebd8]
test al, 1
jne 0x48ceed
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 4
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 5
push 0
call dword [eax + 0x6c]
mov edx, 0x2000
mov dword [ebp - 0x90], 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 0x48cf2e
mov edi, edx
test edx, edx
je 0x48cf40
push edi
push str.logger_id
push eax
call fcn.004c4e80
add esp, 0xc
add dword [ebp - 0x64], edi
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x6c]
call fcn.00488170
mov edi, eax
mov ecx, 5
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
sub eax, ebx
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48cf90
push ecx
push str._key
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x80]
call fcn.00404e90
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x7c], eax
jb 0x48cfa8
mov edx, dword [edx]
mov eax, dword [ebp - 0x84]
mov ecx, eax
sub ecx, ebx
cmp dword [ebp - 0x7c], ecx
cmovbe ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48cfdd
push ecx
push edx
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
sub eax, ebx
mov ecx, 6
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48d011
push ecx
push str._name
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx + 0x18]
call fcn.00404e90
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x7c], eax
jb 0x48d02c
mov edx, dword [edx]
mov eax, dword [ebp - 0x84]
mov ecx, eax
sub ecx, ebx
cmp dword [ebp - 0x7c], ecx
cmovbe ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48d061
push ecx
push edx
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
sub eax, ebx
mov ecx, 6
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48d095
push ecx
push str._path
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx + 0x30]
call fcn.00404e90
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x7c], eax
jb 0x48d0b0
mov edx, dword [edx]
mov eax, dword [ebp - 0x84]
mov ecx, eax
sub ecx, ebx
cmp dword [ebp - 0x7c], ecx
cmovbe ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48d0df
push ecx
push edx
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov ebx, dword [edi + 8]
mov eax, dword [edi + 4]
sub eax, ebx
mov ecx, 7
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x48d107
push ecx
push str._level
push ebx
call fcn.004c4e80
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [ebp - 0x80]
mov ecx, edi
push dword [eax + 0x48]
call fcn.00488170
mov edi, eax
mov ebx, 9
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub ecx, edx
cmp ecx, ebx
cmovb ebx, ecx
test ebx, ebx
je 0x48d141
push ebx
push str._display
push edx
call fcn.004c4e80
add esp, 0xc
add dword [edi + 8], ebx
mov edx, dword [edi + 8]
mov eax, dword [ebp - 0x80]
mov al, byte [eax + 0x4c]
test al, al
mov eax, dword [edi + 4]
je 0x48d166
sub eax, edx
mov ebx, 4
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
je 0x48d188
push ebx
push str.true
jmp 0x48d17c
sub eax, edx
mov ebx, 5
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
je 0x48d188
push ebx
push str.false
push edx
call fcn.004c4e80
add esp, 0xc
add dword [edi + 8], ebx
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x90]
sub eax, dword [ebp - 0x6c]
add dword [edi + 0x20], eax
mov eax, dword [0x53ebd8]
test al, 1
jne 0x48d1c8
or eax, 1
mov dword [0x53ebd8], eax
mov dword [ebp - 4], 5
call fcn.00489fb0
push 0x502890
call fcn.004c318d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53dc20]
mov ecx, 0x53dc20
push 0x78d
push str.e:zhanluekean_pdfconverter_srcmisclog4zlog4z.cpp
push edi
call dword [eax + 0x20]
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x8c]
inc edi
add ebx, 0x88
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x80], ebx
cmp edi, dword [esi + 0x78]
jle 0x48ce66
push 0
push 1
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x50
lea eax, [ebp - 0x60]
mov dword [ebp - 0x80], 0
push 0
push eax
call fcn.004c5400
push 0
call fcn.004cbacc
add esp, 0x10
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0048cb90
test al, al
je 0x48d270
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebx]
test eax, eax
js 0x48d257
cmp eax, dword [esi + 0x78]
jle 0x48d339
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push ebx
call dword [eax + 0x70]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0048cb90
test al, al
jne 0x48d245
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x48d2cf
lea edi, [esi + 0xf8]
nop dword [eax]
mov cl, byte [edi - 0x24]
mov al, cl
test cl, cl
je 0x48d2aa
cmp dword [ebp + ebx*4 - 0x60], 0
jle 0x48d2aa
mov edx, dword [edi]
test edx, edx
je 0x48d2a2
push edx
call fcn.004ce31d
mov al, byte [edi - 0x24]
add esp, 4
mov dword [ebp + ebx*4 - 0x60], 0
test al, al
jne 0x48d2c3
mov eax, dword [edi]
test eax, eax
je 0x48d2c3
push eax
call fcn.004ce3ec
add esp, 4
mov dword [edi], 0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x48d280
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x14], 0
jne 0x48d2ea
cmp dword [esi + 0xc4c], 0
je 0x48d4e5
cmp dword [esi + 0x20], 0
je 0x48d236
push 0
call fcn.004cbacc
mov edi, eax
add esp, 4
sub edi, dword [ebp - 0x7c]
mov ecx, edx
mov eax, dword [esi + 0x20]
sbb ecx, dword [ebp - 0x8c]
cdq
cmp ecx, edx
jl 0x48d236
jg 0x48d321
cmp edi, eax
jbe 0x48d236
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
call dword [eax + 0x50]
push 0
call fcn.004cbacc
add esp, 4
jmp 0x48d22d
imul edi, eax, 0x88
add edi, esi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x90], edi
je 0x48d3f4
mov edi, dword [ebx + 0x20]
lea ecx, [ebp - 0x78]
add ebx, 0x24
call fcn.004059e0
lea ecx, [ebp - 0x78]
call fcn.00404e90
lea ecx, [ebp - 0x85]
mov byte [ebp - 0x85], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.00401ec0
add esp, 8
lea ecx, [ebp - 0x78]
push edi
push ebx
call fcn.00406e70
mov dword [ebp - 4], 6
lea eax, [ebp - 0x78]
mov edi, dword [ebp - 0x80]
mov ecx, esi
push eax
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call fcn.0048bb90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00404e30
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x48d3e5
push eax
call fcn.004ce3ec
add esp, 4
mov dword [ebx + 0xf8], 0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x48d236
add dword [esi + 0xfb0], 1
adc dword [esi + 0xfb4], 0
cmp byte [edi + 0xd4], 0
je 0x48d4d6
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0xc8]
jl 0x48d4d6
cmp byte [edi + 0xcc], 0
je 0x48d433
push eax
lea eax, [ebx + 0x24]
mov ecx, esi
push eax
call fcn.0048ae50
cmp byte [edi + 0xcd], 0
je 0x48d4b8
push ebx
mov ecx, esi
call fcn.0048c4d0
test al, al
jne 0x48d457
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push ebx
call dword [eax + 0x70]
jmp 0x48d236
mov ecx, dword [edi + 0xf8]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x90], eax
test ecx, ecx
je 0x48d4a3
test eax, eax
je 0x48d4a3
push ecx
push eax
lea eax, [ebx + 0x24]
push 1
push eax
call fcn.004cf0b8
add esp, 0x10
cmp eax, dword [ebp - 0x90]
je 0x48d4a3
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x48d4a3
push eax
call fcn.004ce3ec
add esp, 4
mov dword [edi + 0xf8], 0
mov eax, dword [edi + 0xf4]
add eax, dword [ebx + 0x20]
mov dword [edi + 0xf4], eax
mov eax, dword [ebx]
inc dword [ebp + eax*4 - 0x60]
add dword [esi + 0xfb8], 1
adc dword [esi + 0xfbc], 0
mov eax, dword [ebx + 0x20]
cdq
add dword [esi + 0xfc0], eax
adc dword [esi + 0xfc4], edx
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push ebx
call dword [eax + 0x70]
jmp 0x48d236
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x48d536
lea edi, [esi + 0xf8]
cmp byte [edi - 0x24], 0
je 0x48d52a
mov byte [edi - 0x24], 0
test ebx, ebx
js 0x48d51c
cmp ebx, dword [esi + 0x78]
jg 0x48d51c
mov eax, dword [edi]
test eax, eax
je 0x48d52a
push eax
call fcn.004ce3ec
add esp, 4
mov dword [edi], 0
jmp 0x48d52a
push 6
push str.log4z:_closeLogger_can_not_close__invalide_logger_id___r_n
mov ecx, esi
call fcn.0048ae50
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x48d4f2
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.004c2d85
mov esp, ebp
pop ebp
ret