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

Disassembly:
sub esp, 0x334
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
call fcn.00407650
mov ecx, esi
call fcn.004212c0
mov edi, dword [esp + 0x348]
mov ebx, dword [esp + 0x358]
sub edi, esi
sub ebx, esi
mov ebp, 8
lea eax, [edi + esi]
push eax
mov ecx, esi
call fcn.004060c0
lea ecx, [ebx + esi]
push ecx
lea ecx, [esi + 0x20]
call fcn.004060c0
add esi, 4
dec ebp
jne 0x421327
mov ebx, dword [esp + 0x24]
mov dl, byte [esp + 0x350]
mov eax, dword [esp + 0x34c]
mov ecx, dword [esp + 0x354]
mov byte [ebx + 0x44], dl
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x48], ecx
add ebx, 0x4c
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebx
mov ebp, dword [ebx - 0x4c]
lea edi, [ebx - 0x4c]
mov esi, 0x4b1cc8
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4213a6
test cl, cl
je 0x4213a2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4213a6
add eax, 2
add esi, 2
test cl, cl
jne 0x421382
xor eax, eax
jmp 0x4213ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4215cd
push str..ogg
push ebp
call fcn.0048a7b0
add esp, 8
test eax, eax
jne 0x42148d
mov eax, dword [edi]
push str..OGG
push eax
call fcn.0048a7b0
add esp, 8
test eax, eax
jne 0x42148d
mov ecx, dword [edi]
push str..Ogg
push ecx
call fcn.0048a7b0
add esp, 8
test eax, eax
jne 0x42148d
mov ecx, dword [esp + 0x35c]
push eax
lea edx, [esp + 0x38]
push edx
push edi
call fcn.00420d80
test eax, eax
mov dword [ebx], eax
je 0x42147f
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x5c]
push edx
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x42147f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00407a20
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x421467
mov edx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00407a20
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [edx + 0x4c]
lea ecx, [esp + 0x34]
call fcn.00407690
jmp 0x4215ad
mov ecx, dword [esp + 0x35c]
push 0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.00420be0
xor ebp, ebp
test eax, eax
mov dword [ebx], eax
je 0x421592
lea ecx, [esp + 0x30]
push ecx
push 1
push 2
push 0
push 0x1000
lea edx, [esp + 0x88]
push 0x4b2f4c
push edx
call fcn.0047b520
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x42158e
jge 0x421500
mov eax, dword [0x4b1dfc]
push ebx
push str.decode_ogg
push 0xa
push 0x4a2274
push eax
call fcn.00408f90
add esp, 0x14
jmp 0x4214b2
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebp
push eax
call dword [edx + 0x2c]
test eax, eax
jl 0x421587
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
mov esi, 0x4b2f4c
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42156b
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
lea esi, [eax + 0x4b2f4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [edx + 0x4c]
add ebp, ebx
jmp 0x4214b2
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4215ad
push eax
call fcn.0048905c
lea edx, [esp + 0x78]
push edx
call fcn.0047a140
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
add ebx, 4
cmp eax, 8
mov dword [ecx + 0x6c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
jl 0x421375
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x498314
call fcn.00407690
mov eax, dword [esp + 0x40]
cmp eax, 0x4b1de8
pop edi
pop esi
pop ebp
pop ebx
je 0x4215f6
push eax
call fcn.00488e76
add esp, 4
add esp, 0x334
ret 0x18