Function at 0x45c1f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [0x49e970]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
push edi
mov edi, dword [ebp + 8]
push 0x47eccc
push edi
mov dword [ebp - 4], 0
call esi
add esp, 8
test eax, eax
je 0x45c24b
push 0x47ecd8
push 0x4795e0
call esi
add esp, 8
test eax, eax
je 0x45c24b
push str.bwdraw
push 0x4795e0
call esi
add esp, 8
test eax, eax
mov dword [ebp + 8], 0
jne 0x45c252
mov dword [ebp + 8], 1
push 0x20
push 0x47ecec
push edi
call dword [sym.imp.MSVCRT.dll__fsopen]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45c476
call fcn.0044a840
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x18
lea eax, [ebp - 0x20]
push 1
push eax
call edi
lea ecx, [ebp - 0x20]
push 0x47ecf0
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 0x18
test eax, eax
je 0x45c278
lea edx, [ebp - 0x20]
push 0x47ecfc
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c2c1
mov ecx, dword [ebp - 0xc]
push ebx
lea eax, [ebp - 4]
push eax
push ecx
push esi
call fcn.00460670
add esp, 0x10
jmp 0x45c278
lea edx, [ebp - 0x20]
push 0x47ed08
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c305
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.0045c4c0
mov eax, dword [ebp - 8]
add esp, 0xc
cmp eax, 0xaca
jl 0x45c400
cmp eax, 0xacd
jg 0x45c400
jmp 0x45c278
lea edx, [ebp - 0x20]
push 0x47ed10
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c335
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
call fcn.0045c5a0
add esp, 0x14
jmp 0x45c278
lea eax, [ebp - 0x20]
push 0x47ed1c
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c35c
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.0045c490
add esp, 8
jmp 0x45c278
lea edx, [ebp - 0x20]
push 0x47ed28
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c383
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0045c520
add esp, 8
jmp 0x45c278
lea ecx, [ebp - 0x20]
push 0x47ed30
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c3aa
lea edx, [ebp - 0x20]
push edx
push esi
call fcn.0045c570
add esp, 8
jmp 0x45c278
lea eax, [ebp - 0x20]
push 0x47ed38
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x45c3d1
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.0045cf60
add esp, 8
jmp 0x45c278
lea edx, [ebp - 0x20]
push 0x47ed40
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x45c40c
lea eax, [ebp - 0x20]
push 0x47ed48
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x45c41b
jmp 0x45c278
push 0x12
call fcn.0040c4d0
add esp, 4
jmp 0x45c41b
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.0045cf90
add esp, 0xc
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [ebp - 8]
add esp, 4
cmp eax, 0xaca
jne 0x45c445
mov edx, dword [0x49ec78]
mov eax, dword [edx + 0x15]
push eax
push 5
push 0
call fcn.00412e90
add esp, 0xc
mov ecx, dword [ebp - 4]
push ebx
push ecx
push 0
call fcn.00460370
add esp, 0xc
call fcn.0045dc40
call fcn.00473430
mov eax, dword [ebp + 8]
test eax, eax
je 0x45c46a
call fcn.0045fb10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x45c482
call fcn.0045fb10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret