Function at 0x45f776
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x70]
xor ebx, ebx
push edi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call fcn.00444fc0
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 1
call fcn.0040c060
lea ecx, [esp + 0x28]
call fcn.0040c060
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push 0x20
call fcn.0045f717
test al, al
je 0x45f936
mov edi, dword [esp + 0x18]
push edi
push esi
call fcn.00438a19
cmp word [eax], 0x20
je 0x45f7f7
push edi
push esi
call fcn.00438a19
cmp word [eax], 9
jne 0x45f7fa
inc edi
jmp 0x45f7dd
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push 0
mov dword [esp + 0x28], edi
call fcn.0045f717
mov esi, dword [esp + 0x28]
push 0x485780
push esi
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x45f830
mov byte [esp + 0x70], 1
jmp 0x45f936
push str.DOWN
push esi
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x45f84c
mov byte [esp + 0x74], 1
jmp 0x45f936
push 0x4858c4
push esi
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x45f868
mov byte [esp + 0x12], 1
jmp 0x45f936
push 0x4858cc
push esi
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x45f884
mov byte [esp + 0x13], 1
jmp 0x45f936
xor edi, edi
lea esi, [esp + 0x28]
call fcn.00401be0
cmp word [eax], 0x30
jne 0x45f90e
mov edi, 1
call fcn.00401be0
cmp word [eax], 0x78
je 0x45f8b0
call fcn.00401be0
cmp word [eax], 0x58
jne 0x45f90e
mov eax, 2
xor edi, edi
lea esi, [esp + 0x28]
call fcn.0040c740
lea edx, [esp + 0x14]
push edx
push esi
call fcn.004448ca
call fcn.00401be0
cmp word [eax], 0x30
jne 0x45f8e7
mov ecx, dword [esp + 0x14]
push ecx
push 0x4858d4
lea edx, [esp + 0x50]
push edx
jmp 0x45f8f6
mov eax, dword [esp + 0x14]
push eax
push 0x4858dc
lea ecx, [esp + 0x50]
push ecx
call fcn.004376f2
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x2c]
call fcn.004021e0
jmp 0x45f936
mov eax, dword [esp + 0x28]
push eax
call fcn.00413431
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jg 0x45f936
mov dword [esp + 0x14], 1
jmp 0x45f936
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx*4 + 0x492b10]
push ecx
push edx
call fcn.004115d0
add esp, 8
test eax, eax
je 0x45f955
inc ebx
cmp ebx, 0x62
jl 0x45f936
cmp ebx, 0x62
jne 0x45f9a2
xor edi, edi
lea esi, [esp + 0x38]
call fcn.00401be0
movzx eax, word [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c718
cmp byte [esp + 0x74], 0
jne 0x45fcb6
cmp byte [esp + 0x70], 0
jne 0x45fc92
call fcn.00401be0
mov ecx, dword [esp + 0x14]
movzx edx, word [eax]
push ecx
push edx
push ebp
call fcn.00453e3b
jmp case.default.0x45fa2c
cmp byte [ebx + 0x492c98], 0
movzx eax, byte [ebx + 0x492d00]
jne 0x45fa23
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
cmp byte [esp + 0x74], 0
jne 0x45fcb6
cmp byte [esp + 0x70], 0
jne 0x45fc92
cmp byte [esp + 0x12], 0
je 0x45f9ef
movzx ecx, byte [ebx + 0x492d00]
push 1
push ecx
push ebp
call fcn.0043797b
jmp case.default.0x45fa2c
cmp byte [esp + 0x13], 0
je 0x45fa0b
movzx edx, byte [ebx + 0x492d00]
push 0
push edx
push ebp
call fcn.0043797b
jmp case.default.0x45fa2c
mov eax, dword [esp + 0x14]
movzx ecx, byte [ebx + 0x492d00]
push eax
push ecx
push ebp
call fcn.00453dba
jmp case.default.0x45fa2c
cmp eax, 0xe
ja case.default.0x45fa2c
jmp dword [eax*4 + 0x45fd86]
push 0x12
lea edx, [esp + 0x20]
push edx
call fcn.0044c7a0
cmp byte [esp + 0x74], 0
je 0x45fa64
cmp byte [ebp + 0x1d], 0
jne case.default.0x45fa2c
lea eax, [esp + 0x1c]
push eax
push ebp
mov byte [ebp + 0x1d], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [esp + 0x70], 0
je 0x45fb50
cmp byte [ebp + 0x1d], 0
je case.default.0x45fa2c
mov byte [ebp + 0x1d], 0
jmp 0x45fd5d
push 0xd
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
cmp byte [esp + 0x74], 0
mov byte [esp + 0x26], 1
jne 0x45fc68
cmp byte [esp + 0x70], 0
jne 0x45fbad
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.0044c6fb
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1d], 0
jne case.default.0x45fa2c
push 0x12
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
lea edx, [esp + 0x1c]
push edx
push ebp
mov byte [ebp + 0x1d], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1d], 0
je case.default.0x45fa2c
push 0x12
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
mov byte [ebp + 0x1d], 0
jmp 0x45fd5d
push 0xa0
lea edx, [esp + 0x20]
push edx
call fcn.0044c7a0
cmp byte [esp + 0x74], 0
je 0x45fb36
cmp byte [ebp + 0x1a], 0
jne case.default.0x45fa2c
lea eax, [esp + 0x1c]
push eax
push ebp
mov byte [ebp + 0x1a], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [esp + 0x70], 0
je 0x45fb50
cmp byte [ebp + 0x1a], 0
je case.default.0x45fa2c
mov byte [ebp + 0x1a], 0
jmp 0x45fd5d
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.0044c6fb
jmp case.default.0x45fa2c
push 0xa1
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
cmp byte [esp + 0x74], 0
je 0x45fb94
cmp byte [ebp + 0x1b], 0
jne case.default.0x45fa2c
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov byte [ebp + 0x1b], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [esp + 0x70], 0
je 0x45faa9
cmp byte [ebp + 0x1b], 0
je case.default.0x45fa2c
mov byte [ebp + 0x1b], 0
lea edx, [esp + 0x1c]
push edx
jmp 0x45fd62
cmp byte [ebp + 0x1a], 0
jne case.default.0x45fa2c
push 0x10
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
lea edx, [esp + 0x1c]
push edx
push ebp
mov byte [ebp + 0x1a], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1a], 0
je case.default.0x45fa2c
push 0x10
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
mov byte [ebp + 0x1a], 0
jmp 0x45fd5d
cmp byte [ebp + 0x1c], 0
jne case.default.0x45fa2c
push 0x11
lea edx, [esp + 0x20]
push edx
call fcn.0044c7a0
lea eax, [esp + 0x1c]
push eax
push ebp
mov byte [ebp + 0x1c], 1
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1c], 0
je case.default.0x45fa2c
push 0x11
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
lea edx, [esp + 0x1c]
mov byte [ebp + 0x1c], 0
push edx
jmp 0x45fd62
cmp byte [ebp + 0x1e], 0
jne case.default.0x45fa2c
push 0x5b
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
mov byte [ebp + 0x1e], 1
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1e], 0
je case.default.0x45fa2c
push 0x5b
lea edx, [esp + 0x20]
push edx
call fcn.0044c7a0
mov byte [ebp + 0x1e], 0
lea eax, [esp + 0x1c]
push eax
jmp 0x45fd62
cmp byte [ebp + 0x1f], 0
jne case.default.0x45fa2c
push 0x5c
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
mov byte [ebp + 0x1f], 1
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.0044c522
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1f], 0
je case.default.0x45fa2c
push 0x5c
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
mov byte [ebp + 0x1f], 0
jmp 0x45fd5d
cmp dword [ebp + 0x20], 0
je 0x45fcf7
mov edx, dword [esp + 0x14]
push 1
push edx
push ebp
call fcn.00453e3b
jmp case.default.0x45fa2c
cmp byte [ebp + 0x1d], 0
jne 0x45fd14
push 0x12
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0044c522
xor edi, edi
lea esi, [esp + 0x28]
call fcn.00401be0
cmp word [eax], 0
je 0x45fd4b
call fcn.00401be0
mov dl, byte [eax]
add dl, 0x30
movzx eax, dl
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c7a0
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.0044c6fb
inc edi
jmp 0x45fd16
cmp byte [ebp + 0x1d], 0
jne case.default.0x45fa2c
push 0x12
lea eax, [esp + 0x20]
push eax
call fcn.0044c7a0
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0044c379
lea ecx, [esp + 0x28]
call fcn.00402620
lea ecx, [esp + 0x38]
call fcn.00402620
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8