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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x88
push ebx
push esi
push 0x423d24
push eax
call fcn.0040e667
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x404f27
mov ecx, dword [esi + 0x10]
push ebp
push edi
push ecx
call fcn.0040e5ac
mov edi, eax
push edi
mov dword [esp + 0x7c], edi
call fcn.0040e20a
push esi
mov ebp, eax
push edi
push 1
push ebp
mov dword [esp + 0x28], ebp
call fcn.0040e495
push esi
call fcn.0040e418
mov eax, dword [ebp]
add esp, 0x1c
cmp eax, 0x58414b
jne 0x404f1c
mov edx, dword [str.binkey]
mov ax, word [0x423d20]
mov dword [esp + 0x44], edx
mov edx, dword [str.bindata]
mov cl, byte [0x423d22]
mov dword [esp + 0x80], edx
mov dl, byte [0x423d10]
mov word [esp + 0x48], ax
mov eax, dword [0x423d18]
mov byte [esp + 0x30], dl
mov dl, byte [0x423d0a]
mov byte [esp + 0x4a], cl
mov ecx, dword [str.desc]
mov byte [esp + 0x42], dl
xor edx, edx
mov dword [esp + 0x84], eax
mov eax, dword [str.lyrics]
mov dword [esp + 0x89], edx
mov dword [esp + 0x2c], ecx
mov cx, word [0x423d08]
mov dword [esp + 0x8d], edx
mov dword [esp + 0x3c], eax
mov eax, dword [str.glyph]
mov dword [esp + 0x91], edx
mov word [esp + 0x40], cx
mov cx, word [0x423d00]
mov word [esp + 0x95], dx
xor ebp, ebp
cmp edi, ebx
mov byte [esp + 0x54], 0x70
mov byte [esp + 0x55], 0x6b
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], cx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x88], bl
mov byte [esp + 0x97], dl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], 8
jle 0x404f18
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov cl, byte [esi]
movsx edx, byte [esp + 0x44]
mov eax, ecx
and eax, 0xff
cmp eax, edx
je 0x404cdb
cmp cl, 0x70
je 0x404cdb
movsx ecx, byte [esp + 0x2c]
cmp eax, ecx
je 0x404cdb
movsx edx, byte [esp + 0x3c]
cmp eax, edx
je 0x404cdb
movsx ecx, byte [esp + 0x4c]
cmp eax, ecx
jne 0x404e33
cmp dword [esp + 0x24], ebx
jne 0x404d0f
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call fcn.0040e3e0
add esp, 0xc
test eax, eax
jne 0x404d0f
mov dword [esp + 0x24], 1
jmp 0x404e17
cmp dword [esp + 0x34], ebx
jne 0x404d3a
mov ecx, 5
lea edi, [esp + 0x54]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
mov esi, dword [esp + 0x20]
jne 0x404d3a
mov dword [esp + 0x64], ebp
mov dword [esp + 0x34], 1
jmp 0x404e11
cmp dword [esp + 0x14], ebx
jne 0x404d78
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.0040e3e0
add esp, 0xc
test eax, eax
jne 0x404d78
mov dword [esp + 0x70], ebp
mov dword [esp + 0x14], 1
jmp 0x404e11
cmp dword [esp + 0x18], ebx
jne 0x404dad
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call fcn.0040e3e0
add esp, 0xc
test eax, eax
jne 0x404dad
mov dword [esp + 0x78], ebp
mov dword [esp + 0x18], 1
jmp 0x404e11
cmp dword [esp + 0x1c], ebx
jne 0x404de2
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x3c]
push ecx
push eax
push esi
call fcn.0040e3e0
add esp, 0xc
test eax, eax
jne 0x404de2
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], 1
jmp 0x404e11
cmp dword [esp + 0x28], ebx
jne 0x404e11
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.0040e3e0
add esp, 0xc
test eax, eax
jne 0x404e11
mov dword [esp + 0x28], 1
cmp dword [esp + 0x24], ebx
je 0x404e2f
cmp dword [esp + 0x14], ebx
je 0x404e2f
cmp dword [esp + 0x18], ebx
je 0x404e2f
cmp dword [esp + 0x1c], ebx
je 0x404e2f
cmp dword [esp + 0x28], ebx
jne 0x404e41
mov edi, dword [esp + 0x74]
inc ebp
inc esi
cmp ebp, edi
mov dword [esp + 0x20], esi
jl 0x404ca5
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp eax, ebx
je 0x404e62
mov edx, dword [esp + 0x70]
lea eax, [edx + esi + 0x15]
push eax
call fcn.00402a30
add esp, 4
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x34], ebx
je 0x404ea4
mov eax, dword [esp + 0x64]
xor ecx, ecx
lea edi, [esp + 0x88]
mov cl, byte [eax + esi + 0x15]
lea esi, [eax + esi + 0x17]
mov dword [esp + 0x68], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [eax + 4], 0x3100001
jb 0x404ea4
mov dword [esp + 0x38], 0x10
cmp dword [esp + 0x18], ebx
je 0x404edb
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x54]
push ecx
push edx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x90]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.00404250
add esp, 0x1c
cmp dword [esp + 0x1c], ebx
je 0x404f18
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.00404680
add esp, 0x1c
mov ebp, dword [esp + 0x10]
push ebp
call fcn.0040e1ff
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x88
ret