Function at 0x48d460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd89c
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x53b098]
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 [0x53fbd8]
mov byte [esi + 0x14], 1
test al, 1
jne 0x48d4c5
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 0
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x48d5ac
mov eax, dword [0x53fbd8]
test al, 1
jne 0x48d511
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 1
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
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 0x48d559
push edx
push str.___________________log4z_thread_started________________________________
push ebx
call fcn.004c56a0
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 [0x53fbd8]
test al, 1
jne 0x48d594
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 2
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
push 0x783
push str.e:zhanluepdfconverter_srcmisclog4zlog4z.cpp
push edi
call dword [eax + 0x20]
xor edi, edi
mov dword [ebp - 0x8c], edi
cmp dword [esi + 0x78], edi
jl 0x48d962
lea ebx, [esi + 0x80]
mov dword [ebp - 0x80], ebx
cmp byte [ebx + 0x54], 0
je 0x48d949
mov eax, dword [0x53fbd8]
test al, 1
jne 0x48d601
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 3
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
push 5
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x48d949
mov eax, dword [0x53fbd8]
test al, 1
jne 0x48d64d
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 4
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
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 0x48d68e
mov edi, edx
test edx, edx
je 0x48d6a0
push edi
push str.logger_id
push eax
call fcn.004c56a0
add esp, 0xc
add dword [ebp - 0x64], edi
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x6c]
call fcn.004888f0
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 0x48d6f0
push ecx
push str._key
push ebx
call fcn.004c56a0
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 0x48d708
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 0x48d73d
push ecx
push edx
push ebx
call fcn.004c56a0
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 0x48d771
push ecx
push str._name
push ebx
call fcn.004c56a0
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 0x48d78c
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 0x48d7c1
push ecx
push edx
push ebx
call fcn.004c56a0
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 0x48d7f5
push ecx
push str._path
push ebx
call fcn.004c56a0
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 0x48d810
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 0x48d83f
push ecx
push edx
push ebx
call fcn.004c56a0
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 0x48d867
push ecx
push str._level
push ebx
call fcn.004c56a0
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.004888f0
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 0x48d8a1
push ebx
push str._display
push edx
call fcn.004c56a0
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 0x48d8c6
sub eax, edx
mov ebx, 4
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
je 0x48d8e8
push ebx
push str.true
jmp 0x48d8dc
sub eax, edx
mov ebx, 5
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
je 0x48d8e8
push ebx
push str.false
push edx
call fcn.004c56a0
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 [0x53fbd8]
test al, 1
jne 0x48d928
or eax, 1
mov dword [0x53fbd8], eax
mov dword [ebp - 4], 5
call fcn.0048a720
push 0x503240
call fcn.004c39ad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x53ec20]
mov ecx, 0x53ec20
push 0x78d
push str.e:zhanluepdfconverter_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 0x48d5c6
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.004c5c20
push 0
call fcn.004cc2ec
add esp, 0x10
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0048d2f0
test al, al
je 0x48d9d0
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebx]
test eax, eax
js 0x48d9b7
cmp eax, dword [esi + 0x78]
jle 0x48da99
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.0048d2f0
test al, al
jne 0x48d9a5
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x48da2f
lea edi, [esi + 0xf8]
nop dword [eax]
mov cl, byte [edi - 0x24]
mov al, cl
test cl, cl
je 0x48da0a
cmp dword [ebp + ebx*4 - 0x60], 0
jle 0x48da0a
mov edx, dword [edi]
test edx, edx
je 0x48da02
push edx
call fcn.004ceb3d
mov al, byte [edi - 0x24]
add esp, 4
mov dword [ebp + ebx*4 - 0x60], 0
test al, al
jne 0x48da23
mov eax, dword [edi]
test eax, eax
je 0x48da23
push eax
call fcn.004cec0c
add esp, 4
mov dword [edi], 0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x48d9e0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x14], 0
jne 0x48da4a
cmp dword [esi + 0xc4c], 0
je 0x48dc45
cmp dword [esi + 0x20], 0
je 0x48d996
push 0
call fcn.004cc2ec
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 0x48d996
jg 0x48da81
cmp edi, eax
jbe 0x48d996
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
call dword [eax + 0x50]
push 0
call fcn.004cc2ec
add esp, 4
jmp 0x48d98d
imul edi, eax, 0x88
add edi, esi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x90], edi
je 0x48db54
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.0048c300
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 0x48db45
push eax
call fcn.004cec0c
add esp, 4
mov dword [ebx + 0xf8], 0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x48d996
add dword [esi + 0xfb0], 1
adc dword [esi + 0xfb4], 0
cmp byte [edi + 0xd4], 0
je 0x48dc36
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0xc8]
jl 0x48dc36
cmp byte [edi + 0xcc], 0
je 0x48db93
push eax
lea eax, [ebx + 0x24]
mov ecx, esi
push eax
call fcn.0048b5c0
cmp byte [edi + 0xcd], 0
je 0x48dc18
push ebx
mov ecx, esi
call fcn.0048cc30
test al, al
jne 0x48dbb7
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push ebx
call dword [eax + 0x70]
jmp 0x48d996
mov ecx, dword [edi + 0xf8]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x90], eax
test ecx, ecx
je 0x48dc03
test eax, eax
je 0x48dc03
push ecx
push eax
lea eax, [ebx + 0x24]
push 1
push eax
call fcn.004cf8d8
add esp, 0x10
cmp eax, dword [ebp - 0x90]
je 0x48dc03
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x48dc03
push eax
call fcn.004cec0c
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 0x48d996
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x48dc96
lea edi, [esi + 0xf8]
cmp byte [edi - 0x24], 0
je 0x48dc8a
mov byte [edi - 0x24], 0
test ebx, ebx
js 0x48dc7c
cmp ebx, dword [esi + 0x78]
jg 0x48dc7c
mov eax, dword [edi]
test eax, eax
je 0x48dc8a
push eax
call fcn.004cec0c
add esp, 4
mov dword [edi], 0
jmp 0x48dc8a
push 6
push str.log4z:_closeLogger_can_not_close__invalide_logger_id___r_n
mov ecx, esi
call fcn.0048b5c0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x48dc52
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.004c35a5
mov esp, ebp
pop ebp
ret