Function at 0x4551b4
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x100b8]
mov eax, 0x100b8
call fcn.00479650
push 0xffffffffffffffff
push 0x4a0c08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x100b4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x100c0]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 0x100c4]
lea edi, [esi + 4]
cmp dword [esi + 0x18], 8
jb 0x455210
mov eax, dword [edi]
jmp 0x455212
mov eax, edi
push eax
call fcn.0046f6e5
pop ecx
test al, al
je 0x455597
cmp dword [esi + 0x18], 8
jb 0x455229
mov edi, dword [edi]
test edi, edi
je 0x45523c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x455240
xor eax, eax
jmp 0x455259
lea esi, [eax + eax]
mov eax, esi
call fcn.00478fa0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00452c02
push 0x4ad22c
push eax
call fcn.0047a957
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x455597
xor esi, esi
and dword [ebp - 0x18], esi
mov edi, 0x10000
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
mov eax, edi
sub eax, esi
push eax
push 1
lea eax, [ebp + esi + 0xb4]
push eax
call fcn.0047ac76
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x4552bf
push dword [ebp - 0x14]
call fcn.0047a9a2
pop ecx
test eax, eax
jne 0x4552bf
add esi, ebx
push dword [ebp - 0x14]
call fcn.0047a96e
pop ecx
test eax, eax
jne 0x4552bf
cmp dword [ebp - 0x18], edi
jb 0x45527b
push dword [ebp - 0x14]
call fcn.0047a633
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
push esi
lea eax, [ebp + 0xb4]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045a50d
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045a778
cmp dword [ebp - 0x30], 0x65ef0
jne 0x455593
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045a778
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jae 0x455593
lea ecx, [ebp + 0x7c]
call fcn.004031d8
lea ecx, [ebp + 0x60]
call fcn.004031d8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045bcb3
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x98]
push eax
call fcn.00453309
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x7c]
call fcn.004026d1
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.004027fd
cmp dword [ebp + 0x94], 0x10
mov edi, dword [ebp + 0x80]
jae 0x455379
lea edi, [ebp + 0x80]
cmp edi, ebx
je 0x45538f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x455394
mov dword [ebp - 0x14], ebx
jmp 0x4553b0
lea eax, [esi + esi]
call fcn.00478fa0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00452bca
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045bcb3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045a778
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045a778
cmp dword [ebp + 0x78], 0x10
mov edi, dword [ebp + 0x64]
jae 0x4553e0
lea edi, [ebp + 0x64]
cmp edi, ebx
je 0x4553f6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4553fa
xor esi, esi
jmp 0x455415
lea eax, [esi + esi]
call fcn.00478fa0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00452bca
mov esi, eax
lea ecx, [ebp]
call fcn.00454559
push esi
lea ecx, [ebp + 0x98]
call fcn.00401903
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x20]
call fcn.004019ae
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401a65
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x3c], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jae 0x45552a
lea ecx, [ebp + 0x98]
call fcn.004031d8
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045bcb3
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00453309
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x98]
call fcn.004026d1
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.004027fd
cmp dword [ebp + 0xb0], 0x10
mov edi, dword [ebp + 0x9c]
jae 0x4554b3
lea edi, [ebp + 0x9c]
cmp edi, ebx
je 0x4554c9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4554cd
xor esi, esi
jmp 0x4554e8
lea eax, [esi + esi]
call fcn.00478fa0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00452bca
mov esi, eax
push esi
call fcn.0046f6e5
pop ecx
test al, al
je 0x455514
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401903
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp]
call fcn.00454240
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00401a65
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.004027fd
inc dword [ebp - 0x1c]
jmp 0x45544c
push dword [ebp - 0x14]
call fcn.0046f6e5
pop ecx
test al, al
je 0x45556d
push dword [ebp - 0x14]
lea ecx, [ebp + 0x98]
call fcn.00401903
lea eax, [ebp]
push eax
lea eax, [ebp + 0x98]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00455068
mov ecx, eax
call fcn.004545a1
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401a65
lea ecx, [ebp]
call fcn.00454575
push ebx
push 1
lea ecx, [ebp + 0x60]
call fcn.004027fd
push ebx
push 1
lea ecx, [ebp + 0x7c]
call fcn.004027fd
inc dword [ebp - 0x20]
jmp 0x45530a
or dword [ebp - 4], 0xffffffff
lea esp, [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100b4]
xor ecx, ebp
call fcn.0047654a
add ebp, 0x100b8
leave
ret