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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov ebx, dword [eax + 0x5f3f]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x5f47]
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x54]
mov eax, 3
mov dword [esp + 0x48], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x74]
sub edx, 4
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [ecx + 0x78]
mov ecx, dword [esp + 0xa0]
sub eax, 4
mov dword [esp + 0x84], eax
push edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x88], esi
push ecx
mov dword [esp + 0x48], 0x32
call fcn.004012b0
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x9c]
add eax, edx
add esp, 0x14
mov cl, byte [eax + 0x5e48]
test cl, cl
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 4]
je 0x4980e1
dec edx
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0xc]
inc edx
mov dword [esp + 0x40], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
dec edx
mov dword [esp + 0x18], edx
inc ecx
jmp 0x4980f5
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov cl, byte [eax + 0x5e4e]
test cl, cl
je 0x49810b
mov dword [esp + 0x34], 0x64
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x498320
jmp 0x498125
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.004011d0
add esp, 0xc
test eax, eax
je 0x498320
mov al, byte [esp + 0xac]
test al, al
jne 0x49816e
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x9c]
mov cl, byte [edx + eax + 0x5e48]
test cl, cl
jne 0x49816e
call dword [0x4f0220]
jmp 0x498180
push 0x5f1
push str.D:DevProjectsJMain1SourceVPlayer.cpp
call fcn.00401130
add esp, 8
and eax, reloc.DSOUND.dll_DirectSoundCreate
jns 0x49818c
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4981a8
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], 1
jmp 0x4981c2
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0xffffffff
mov edi, edx
test eax, eax
jne 0x4981e1
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
jmp 0x4981ff
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x1c], eax
mov edx, eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub esi, edi
mov dword [esp + 0x2c], ecx
cmp esi, ebp
je 0x4982d1
mov esi, dword [esp + 0x14]
sub esi, edx
mov dword [esp + 0x74], esi
jmp 0x498223
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x14]
cmp esi, eax
je 0x4982b7
cmp ecx, dword [esp + 0x30]
je 0x49824d
mov esi, edi
sub esi, dword [esp + 0x10]
cmp ecx, esi
je 0x49824d
cmp ebp, dword [esp + 0x14]
je 0x49824d
mov esi, edx
sub esi, eax
cmp ebp, esi
jne 0x4982a9
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x40]
jg 0x4982fc
cmp esi, dword [esp + 0x20]
jg 0x498292
add edi, ecx
push 2
lea ecx, [esi + ebp]
push edi
push ecx
mov ecx, ebx
call fcn.00438cd0
test al, 0x99
jne 0x498299
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jle 0x49826b
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
inc edi
mov dword [esp + 0x44], edi
jmp 0x498259
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add ebp, eax
mov esi, ebp
sub esi, edx
cmp esi, eax
jne 0x49822f
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
add ecx, esi
mov esi, ecx
mov dword [esp + 0x2c], ecx
sub esi, edi
cmp esi, ebp
jne 0x49821f
push 1
lea edx, [esp + 0x90]
push 1
push edx
call fcn.00401240
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
add esp, 0xc
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x498121
jmp 0x498320
push ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.004afa90
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x48]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
add esp, 0x8c
ret 0x10