Function at 0x4842d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push 0x537640
xor ebx, ebx
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x34], ebx
call fcn.004e96b0
add esp, 8
mov dword [ebp - 0x30], eax
test eax, eax
je 0x484508
push 2
push ebx
push eax
call fcn.004e9c99
add esp, 0xc
push dword [ebp - 0x30]
call fcn.004ea292
add esp, 4
mov esi, eax
push ebx
push ebx
push dword [ebp - 0x30]
call fcn.004e9c99
add esp, 0xc
cmp esi, 0xc800
jg 0x4844de
lea eax, [esi + 1]
push 0x525bb0
push eax
call fcn.004de5dd
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4844de
lea ecx, [esi + 1]
push ecx
push ebx
push eax
call fcn.004dfec0
mov ebx, dword [ebp - 0x34]
add esp, 0xc
push dword [ebp - 0x30]
push esi
push 1
push ebx
call fcn.004e9893
mov ecx, ebx
mov dword [ebp - 0x2c], 0
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4843c0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044c0b0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004830b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x48441d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x484413
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484530
push edx
push ecx
call fcn.004de0ea
add esp, 8
push 0x525bb0
push 0x2800
call fcn.004de5dd
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4844de
push 0x2800
push 0
push ebx
call fcn.004dfec0
mov esi, dword [ebp - 0x40]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp esi, eax
je 0x4844c9
cmp edi, esi
je 0x48446f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x484461
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0044c0b0
mov eax, dword [ebp - 0x3c]
cmp dword [edi + 0x10], 0
je 0x4844c2
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x48447f
mov eax, dword [edi]
push 0x27ff
push eax
push ebx
call fcn.004f4930
add esp, 0xc
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x48449c
cmp cl, 9
jne 0x48449f
inc eax
jmp 0x484490
cmp cl, 0x3b
je 0x4844bf
push 0x3b
push ebx
call fcn.004e1d20
add esp, 8
test eax, eax
je 0x4844b6
mov byte [eax], 0
mov ecx, dword [ebp - 0x44]
push ebx
call fcn.00483620
mov eax, dword [ebp - 0x3c]
add esi, 0x18
cmp esi, eax
jne 0x484453
push dword [ebp - 0x30]
mov esi, 1
call fcn.004f2f90
mov eax, dword [ebp - 0x34]
add esp, 4
jmp 0x4844f2
push dword [ebp - 0x30]
call fcn.004f2f90
mov eax, dword [ebp - 0x34]
add esp, 4
xor esi, esi
test eax, eax
je 0x4844fb
push eax
call fcn.004de0f8
add esp, 4
test ebx, ebx
je 0x484508
push ebx
call fcn.004de0f8
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00481d70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e32da
int3