Function at 0x4b4440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a9e40
mov eax, dword fs:[0]
push eax
mov eax, 0x2114
call fcn.00666cc0
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x211c], ecx
push str.CBpaCmd::DlFilescript
push 1
lea ecx, [ebp - 0x2098]
call fcn.004aad40
mov dword [ebp - 4], 0
mov dword [ebp - 0x20f4], 0
mov dword [ebp - 0x20dc], 0
xor eax, eax
mov word [ebp - 0x20f0], ax
mov dword [ebp - 0x2088], 0
mov dword [ebp - 0x20e4], 0
mov dword [ebp - 0x2090], 0
mov dword [ebp - 0x2084], 0
mov ecx, dword [ebp - 0x211c]
mov dword [ecx + 0x58], 0
mov byte [ebp - 0x207d], 0
mov dword [ebp - 0x20a0], 0
mov dword [ebp - 0x20ec], 0
cmp dword [ebp + 0xc], 0
jne 0x4b453e
mov edx, dword [ebp - 0x211c]
mov dword [edx + 0x58], 0x205
xor ecx, ecx
jne 0x4b450e
mov edx, dword [ebp - 0x211c]
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x2104], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x2104]
jmp 0x4b4a78
call fcn.004ab110
mov dword [ebp - 0x20e8], eax
mov byte [ebp - 0x207c], 0
push 0x2067
push 0
lea ecx, [ebp - 0x207b]
push ecx
call fcn.006665c0
add esp, 0xc
push 0
push 6
mov ecx, dword [ebp - 0x20e8]
call fcn.004a4810
mov edx, dword [ebp - 0x211c]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x211c]
cmp dword [eax + 0x58], 0
je 0x4b45b6
mov ecx, dword [ebp - 0x211c]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x2108], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x2108]
jmp 0x4b4a78
push 0x7223e0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x2084], eax
cmp dword [ebp - 0x2084], 0
jne 0x4b4613
mov ecx, dword [ebp - 0x211c]
mov dword [ecx + 0x58], 0x205
xor eax, eax
jne 0x4b45e3
mov ecx, dword [ebp - 0x211c]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x210c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x210c]
jmp 0x4b4a78
push 2
push 0
mov eax, dword [ebp - 0x2084]
push eax
call fcn.00669e99
add esp, 0xc
mov ecx, dword [ebp - 0x2084]
push ecx
call fcn.00669daa
add esp, 4
mov dword [ebp - 0x2088], eax
push 0
push 0
mov edx, dword [ebp - 0x2084]
push edx
call fcn.00669e99
add esp, 0xc
mov eax, dword [ebp - 0x2084]
push eax
mov ecx, dword [ebp - 0x2088]
push ecx
push 1
lea edx, [ebp - 0x207c]
push edx
call fcn.00669b18
add esp, 0x10
mov dword [ebp - 0x20f4], eax
cmp dword [ebp - 0x20f4], 0
jne 0x4b4697
mov eax, dword [ebp - 0x20f4]
cmp eax, dword [ebp - 0x2088]
je 0x4b4697
push str.read_file_script_fails_
call fcn.0066610b
add esp, 4
push 0x2c
lea ecx, [ebp - 0x207c]
push ecx
mov ecx, dword [ebp - 0x211c]
call fcn.004b3e10
mov dword [ebp - 0x209c], eax
cmp dword [ebp - 0x209c], 0
jne 0x4b46e1
mov dword [ebp - 0x2110], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x2110]
jmp 0x4b4a78
lea edx, [ebp - 0x207c]
mov dword [ebp - 0x208c], edx
mov eax, dword [ebp - 0x208c]
mov dword [ebp - 0x20d8], eax
mov dword [ebp - 0x20f8], 0
jmp 0x4b4714
mov ecx, dword [ebp - 0x20f8]
add ecx, 1
mov dword [ebp - 0x20f8], ecx
mov edx, dword [ebp - 0x20f8]
cmp edx, dword [ebp - 0x209c]
jge 0x4b4a56
push 0x2c
mov eax, dword [ebp - 0x208c]
push eax
mov ecx, dword [ebp - 0x211c]
call fcn.004b3e60
mov dword [ebp - 0x20e0], eax
push 0x32
push 0
lea ecx, [ebp - 0x20d4]
push ecx
call fcn.006665c0
add esp, 0xc
mov edx, dword [ebp - 0x20e0]
push edx
mov eax, dword [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x20d4]
push ecx
call fcn.00668860
add esp, 0xc
mov byte [ebp - 0x20a3], 0
lea edx, [ebp - 0x20d4]
push edx
push str.command:__s_n
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0x20e0]
push eax
lea ecx, [ebp - 0x20d4]
push ecx
mov ecx, dword [ebp - 0x20e8]
call fcn.004a9cd0
test eax, eax
jne 0x4b4a17
mov edx, 1
test edx, edx
je 0x4b4a15
mov eax, dword [ebp - 0x20e0]
mov ecx, dword [ebp - 0x208c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x208c], edx
push 0x2c
mov eax, dword [ebp - 0x208c]
push eax
mov ecx, dword [ebp - 0x211c]
call fcn.004b3e60
mov dword [ebp - 0x20e0], eax
push 0x32
push 0
lea ecx, [ebp - 0x20d4]
push ecx
call fcn.006665c0
add esp, 0xc
mov edx, dword [ebp - 0x20e0]
push edx
mov eax, dword [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x20d4]
push ecx
call fcn.00668860
add esp, 0xc
mov byte [ebp - 0x20a3], 0
lea edx, [ebp - 0x20d4]
push edx
call fcn.00666b8d
add esp, 4
mov dword [ebp - 0x20ec], eax
lea eax, [ebp - 0x20d4]
push eax
call fcn.00666cf0
add esp, 4
cmp eax, 1
jbe 0x4b485e
cmp dword [ebp - 0x20ec], 0
jne 0x4b485e
mov dword [ebp - 0x20ec], 0x7530
jmp 0x4b486d
mov ecx, dword [ebp - 0x20f8]
add ecx, 1
mov dword [ebp - 0x20f8], ecx
mov edx, dword [ebp - 0x20ec]
push edx
push str.timeout:__d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x20fc], 0
mov dword [ebp - 0x2100], 0
jmp 0x4b48a6
mov eax, dword [ebp - 0x2100]
add eax, 1
mov dword [ebp - 0x2100], eax
cmp dword [ebp - 0x2100], 2
jge 0x4b493f
mov ecx, dword [ebp - 0x20ec]
push ecx
lea edx, [ebp - 0x207d]
push edx
lea eax, [ebp - 0x20a0]
push eax
mov ecx, dword [ebp - 0x20e8]
call fcn.004a76d0
mov ecx, dword [ebp - 0x211c]
mov dword [ecx + 0x58], eax
cmp dword [ebp - 0x2100], 0
jne 0x4b48f4
mov edx, dword [ebp - 0x211c]
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x20fc], eax
mov ecx, dword [ebp - 0x211c]
cmp dword [ecx + 0x58], 0
jne 0x4b490e
mov dword [0x7e47e4], 0
jmp 0x4b493f
mov dword [0x7e47e4], 1
cmp dword [ebp - 0x2100], 1
jne 0x4b493a
mov edx, dword [ebp - 0x211c]
mov eax, dword [ebp - 0x20fc]
mov dword [edx + 0x58], eax
mov dword [0x7e47e4], 0
jmp 0x4b4897
xor ecx, ecx
jne 0x4b4881
mov edx, dword [ebp - 0x211c]
cmp dword [edx + 0x58], 0x35b
jne 0x4b495b
jmp 0x4b47ac
mov eax, dword [ebp - 0x211c]
cmp dword [eax + 0x58], 0
je 0x4b4982
xor edx, edx
jne 0x4b4967
push 0x4e20
push 6
mov ecx, dword [ebp - 0x20e8]
call fcn.004a4680
jmp 0x4b4a15
mov eax, dword [ebp - 0x20f8]
add eax, 1
mov dword [ebp - 0x2120], eax
fild dword [ebp - 0x2120]
fmul qword [0x723e98]
fmul qword [0x723e90]
fidiv dword [ebp - 0x209c]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x211c]
mov edx, dword [ecx + 0x5c]
mov eax, dword [edx*4 + 0x7c4208]
push eax
push str._s.wr_2.0f___r_n
call fcn.004a4410
add esp, 0x10
movzx ecx, byte [ebp - 0x207d]
cmp ecx, 0x64
jne 0x4b4a10
mov eax, dword [ebp - 0x209c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x20f8]
add eax, 1
cdq
sub eax, edx
sar eax, 1
push eax
push str._nhave_run__d__d_n
call fcn.0066610b
add esp, 0xc
mov edx, dword [ebp - 0x211c]
mov dword [edx + 0x58], 0
jmp 0x4b4a15
jmp 0x4b47ac
jmp 0x4b4a3b
mov dword [ebp - 0x2114], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x2114]
jmp 0x4b4a78
mov eax, dword [ebp - 0x20e0]
mov ecx, dword [ebp - 0x208c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x208c], edx
jmp 0x4b4705
mov dword [ebp - 0x2118], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2098]
call fcn.0049b930
mov eax, dword [ebp - 0x2118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8