Function at 0x454291
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x100b8]
mov eax, 0x100b8
call fcn.004791d0
push 0xffffffffffffffff
push 0x4a0e98
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c3a10]
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 0x4542ed
mov eax, dword [edi]
jmp 0x4542ef
mov eax, edi
push eax
call fcn.0046ea99
pop ecx
test al, al
je 0x454674
cmp dword [esi + 0x18], 8
jb 0x454306
mov edi, dword [edi]
test edi, edi
je 0x454319
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x45431d
xor eax, eax
jmp 0x454336
lea esi, [eax + eax]
mov eax, esi
call fcn.004791a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00451c95
push 0x4aafac
push eax
call fcn.0047a6b7
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x454674
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.0047a9d6
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x45439c
push dword [ebp - 0x14]
call fcn.0047a702
pop ecx
test eax, eax
jne 0x45439c
add esi, ebx
push dword [ebp - 0x14]
call fcn.0047a6ce
pop ecx
test eax, eax
jne 0x45439c
cmp dword [ebp - 0x18], edi
jb 0x454358
push dword [ebp - 0x14]
call fcn.0047a393
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.0045960f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045987a
cmp dword [ebp - 0x30], 0x65ef0
jne 0x454670
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045987a
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jae 0x454670
lea ecx, [ebp + 0x7c]
call fcn.004031ec
lea ecx, [ebp + 0x60]
call fcn.004031ec
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045adb5
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x98]
push eax
call fcn.004523e6
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x7c]
call fcn.004026a9
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.004027d5
cmp dword [ebp + 0x94], 0x10
mov edi, dword [ebp + 0x80]
jae 0x454456
lea edi, [ebp + 0x80]
cmp edi, ebx
je 0x45446c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x454471
mov dword [ebp - 0x14], ebx
jmp 0x45448d
lea eax, [esi + esi]
call fcn.004791a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00451c5d
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045adb5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045987a
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045987a
cmp dword [ebp + 0x78], 0x10
mov edi, dword [ebp + 0x64]
jae 0x4544bd
lea edi, [ebp + 0x64]
cmp edi, ebx
je 0x4544d3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4544d7
xor esi, esi
jmp 0x4544f2
lea eax, [esi + esi]
call fcn.004791a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00451c5d
mov esi, eax
lea ecx, [ebp]
call fcn.00453636
push esi
lea ecx, [ebp + 0x98]
call fcn.00401900
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x20]
call fcn.004019ab
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401a62
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 0x454607
lea ecx, [ebp + 0x98]
call fcn.004031ec
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045adb5
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004523e6
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x98]
call fcn.004026a9
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.004027d5
cmp dword [ebp + 0xb0], 0x10
mov edi, dword [ebp + 0x9c]
jae 0x454590
lea edi, [ebp + 0x9c]
cmp edi, ebx
je 0x4545a6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4545aa
xor esi, esi
jmp 0x4545c5
lea eax, [esi + esi]
call fcn.004791a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00451c5d
mov esi, eax
push esi
call fcn.0046ea99
pop ecx
test al, al
je 0x4545f1
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401900
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp]
call fcn.0045331d
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00401a62
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.004027d5
inc dword [ebp - 0x1c]
jmp 0x454529
push dword [ebp - 0x14]
call fcn.0046ea99
pop ecx
test al, al
je 0x45464a
push dword [ebp - 0x14]
lea ecx, [ebp + 0x98]
call fcn.00401900
lea eax, [ebp]
push eax
lea eax, [ebp + 0x98]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00454145
mov ecx, eax
call fcn.0045367e
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401a62
lea ecx, [ebp]
call fcn.00453652
push ebx
push 1
lea ecx, [ebp + 0x60]
call fcn.004027d5
push ebx
push 1
lea ecx, [ebp + 0x7c]
call fcn.004027d5
inc dword [ebp - 0x20]
jmp 0x4543e7
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.0047674a
add ebp, 0x100b8
leave
ret