Function at 0x45589f
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x100b8]
mov eax, 0x100b8
call fcn.00479e40
push 0xffffffffffffffff
push 0x4a17e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c3a60]
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 0x4558fb
mov eax, dword [edi]
jmp 0x4558fd
mov eax, edi
push eax
call fcn.0046fdb5
pop ecx
test al, al
je 0x455c82
cmp dword [esi + 0x18], 8
jb 0x455914
mov edi, dword [edi]
test edi, edi
je 0x455927
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x45592b
xor eax, eax
jmp 0x455944
lea esi, [eax + eax]
mov eax, esi
call fcn.00479790
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004532c1
push 0x4ad224
push eax
call fcn.0047b147
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x455c82
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.0047b466
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x4559aa
push dword [ebp - 0x14]
call fcn.0047b192
pop ecx
test eax, eax
jne 0x4559aa
add esi, ebx
push dword [ebp - 0x14]
call fcn.0047b15e
pop ecx
test eax, eax
jne 0x4559aa
cmp dword [ebp - 0x18], edi
jb 0x455966
push dword [ebp - 0x14]
call fcn.0047ae23
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.0045abe1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ae4c
cmp dword [ebp - 0x30], 0x65ef0
jne 0x455c7e
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ae4c
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jae 0x455c7e
lea ecx, [ebp + 0x7c]
call fcn.00403263
lea ecx, [ebp + 0x60]
call fcn.00403263
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045c387
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x98]
push eax
call fcn.004539f4
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040271f
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.0040284b
cmp dword [ebp + 0x94], 0x10
mov edi, dword [ebp + 0x80]
jae 0x455a64
lea edi, [ebp + 0x80]
cmp edi, ebx
je 0x455a7a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x455a7f
mov dword [ebp - 0x14], ebx
jmp 0x455a9b
lea eax, [esi + esi]
call fcn.00479790
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00453289
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045c387
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ae4c
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ae4c
cmp dword [ebp + 0x78], 0x10
mov edi, dword [ebp + 0x64]
jae 0x455acb
lea edi, [ebp + 0x64]
cmp edi, ebx
je 0x455ae1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x455ae5
xor esi, esi
jmp 0x455b00
lea eax, [esi + esi]
call fcn.00479790
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00453289
mov esi, eax
lea ecx, [ebp]
call fcn.00454c44
push esi
lea ecx, [ebp + 0x98]
call fcn.004018f6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x20]
call fcn.00401a1c
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401ad3
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 0x455c15
lea ecx, [ebp + 0x98]
call fcn.00403263
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045c387
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004539f4
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x98]
call fcn.0040271f
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040284b
cmp dword [ebp + 0xb0], 0x10
mov edi, dword [ebp + 0x9c]
jae 0x455b9e
lea edi, [ebp + 0x9c]
cmp edi, ebx
je 0x455bb4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x455bb8
xor esi, esi
jmp 0x455bd3
lea eax, [esi + esi]
call fcn.00479790
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
pop ecx
push ecx
push esi
push edi
push eax
call fcn.00453289
mov esi, eax
push esi
call fcn.0046fdb5
pop ecx
test al, al
je 0x455bff
push esi
lea ecx, [ebp - 0x5c]
call fcn.004018f6
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp]
call fcn.0045492b
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00401ad3
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.0040284b
inc dword [ebp - 0x1c]
jmp 0x455b37
push dword [ebp - 0x14]
call fcn.0046fdb5
pop ecx
test al, al
je 0x455c58
push dword [ebp - 0x14]
lea ecx, [ebp + 0x98]
call fcn.004018f6
lea eax, [ebp]
push eax
lea eax, [ebp + 0x98]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00455753
mov ecx, eax
call fcn.00454c8c
push ebx
push 1
lea ecx, [ebp + 0x98]
call fcn.00401ad3
lea ecx, [ebp]
call fcn.00454c60
push ebx
push 1
lea ecx, [ebp + 0x60]
call fcn.0040284b
push ebx
push 1
lea ecx, [ebp + 0x7c]
call fcn.0040284b
inc dword [ebp - 0x20]
jmp 0x4559f5
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.00476d3a
add ebp, 0x100b8
leave
ret