Function at 0x4b8030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6286f1
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x6f7654]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push 0
lea ecx, [ebp - 0x632]
push ecx
call fcn.005eb2a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x42c], dx
push 0x40e
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.005eb2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x634]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x634]
push eax
push 0x66d3f0
push 0x208
lea ecx, [ebp - 0x42c]
push ecx
call fcn.005eb0c3
add esp, 0x10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x680], esp
lea edx, [ebp - 0x42c]
push edx
call fcn.00404af0
mov dword [ebp - 0x6a8], eax
call fcn.004532b0
add esp, 0x1c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x684], esp
push 0x648e00
call fcn.00402dc0
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 4], 0
call fcn.00453220
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044d9a0
mov byte [ebp - 0x6b1], al
mov cl, byte [ebp - 0x6b1]
mov byte [ebp - 0x15], cl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x688], esp
push 0x66d3e4
call fcn.00402dc0
mov dword [ebp - 0x6b8], eax
mov edx, dword [ebp - 0x6b8]
mov dword [ebp - 0x6bc], edx
mov dword [ebp - 4], 1
call fcn.00453220
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044d9a0
mov byte [ebp - 0x6bd], al
mov al, byte [ebp - 0x6bd]
mov byte [ebp - 0x16], al
call fcn.00453310
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4b81c2
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x14], 1
jmp 0x4b82c9
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x4b82c9
movzx eax, byte [ebp - 0x16]
cmp eax, 1
jne 0x4b82c9
mov dword [ebp - 0x14], 1
push 0x66d3e0
push str.log.config
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6a4]
push edx
call fcn.0061b060
add esp, 0xc
mov dword [ebp - 0x6c4], eax
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6c8], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x6c8]
call fcn.00403ab0
push eax
call fcn.005ef12a
add esp, 8
mov dword [ebp - 0x638], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a4]
call fcn.00402e00
cmp dword [ebp - 0x638], 0
je 0x4b82c9
mov byte [ebp - 0x67c], 0
push 0x3f
push 0
lea ecx, [ebp - 0x67b]
push ecx
call fcn.005eb2a0
add esp, 0xc
mov edx, dword [ebp - 0x638]
push edx
push 0x40
push 1
lea eax, [ebp - 0x67c]
push eax
call fcn.005f3cc8
add esp, 0x10
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0x40
jb 0x4b829a
mov dword [ebp - 0x63c], 0x3f
mov ecx, dword [ebp - 0x63c]
mov byte [ebp + ecx - 0x67c], 0
lea edx, [ebp - 0x67c]
push edx
call fcn.00455f90
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x638]
push eax
call fcn.005ee378
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00455d60
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005ea848
mov esp, ebp
pop ebp
ret