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

Disassembly:
sub esp, 0x508
mov eax, dword [esp + 0x50c]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [eax + 0x14]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax + 9]
mov dl, byte [eax + 0xb]
mov cl, byte [eax + 0xa]
push edi
shl ecx, 8
or ecx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x114]
mov ebp, 0x40
mov ecx, edi
mov dword [edi + 4], 0
call fcn.0043d6b0
add edi, 0x10
dec ebp
jne 0x49d2c0
mov ecx, dword [esi + 0x1fc]
xor edi, edi
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004555b0
push eax
mov eax, dword [esi + 0x200]
push eax
lea ecx, [esp + 0xd4]
call fcn.0043e610
mov ecx, dword [esi + 0x200]
mov ebp, dword [esp + 0x10]
push edi
push ecx
push ebp
push ebx
lea ecx, [esp + 0xec]
call fcn.0048bba0
cmp dword [esp + 0xe8], ebp
jge 0x49d9e1
lea edi, [esp + 0x114]
mov eax, dword [esi + 0x200]
push eax
push 0x4ce8a0
call fcn.004559c0
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
push edx
call fcn.00454820
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49d37d
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d37d
call fcn.00455c10
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0xe4]
call fcn.0048cb30
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x34]
inc ebx
mov ecx, edi
push edx
mov dword [esp + 0x1c], ebx
add edi, 0x10
call fcn.004546b0
cmp ebx, 0x40
lea ecx, [esp + 0x34]
jge 0x49d3ec
call fcn.004548c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49d3c3
call fcn.00421e30
lea ecx, [esp + 0x34]
call fcn.00454270
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49d3d9
call fcn.00421e30
cmp dword [esp + 0xe8], ebp
jl 0x49d330
mov ebx, dword [esp + 0x18]
jmp 0x49d414
call fcn.004548c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49d3fe
call fcn.00421e30
lea ecx, [esp + 0x34]
call fcn.00454270
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49d414
call fcn.00421e30
cmp ebx, 3
jl 0x49d9e1
cmp dword [esp + 0x114], 2
jne 0x49d9e1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x114]
push eax
push ecx
mov ecx, dword [esi + 0x200]
call fcn.00464b10
mov eax, dword [esp + 0x124]
test eax, eax
je 0x49d456
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x49d468
fld qword [esp + 0x12c]
call fcn.00468d30
mov dword [esp + 0x18], eax
mov ebp, eax
mov edx, dword [esp + 0x28]
push 0x4d9538
push edx
call fcn.0041c090
add esp, 8
test al, al
jne 0x49d8f3
mov eax, dword [esp + 0x28]
push 0x4d9530
push eax
call fcn.0041c090
add esp, 8
test al, al
jne 0x49d8f3
mov ecx, dword [esp + 0x28]
push str.onStatus
push ecx
call fcn.0041c090
add esp, 8
test al, al
je 0x49d588
lea edx, [esp + 0x144]
xor edi, edi
push edx
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0049e2a0
mov ecx, dword [esp + 0x14c]
push edi
lea eax, [esp + 0x60]
push edi
push eax
push str.code
push ecx
mov ecx, dword [esi + 0x200]
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], 6
mov dword [esp + 0x74], edi
call fcn.0045a980
test eax, eax
je 0x49d54b
mov ecx, dword [esi + 0x200]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00464b10
mov ecx, dword [esp + 0x1c]
push str.liAudio
push ecx
call fcn.0041c090
add esp, 8
test al, al
je 0x49d53c
mov ecx, esi
call fcn.0049c880
mov edx, dword [esp + 0x1c]
mov ecx, 0x4da3e8
push edx
call fcn.0041e810
lea ecx, [esp + 0x5c]
call fcn.00454270
mov ecx, dword [esp + 0x60]
cmp ecx, edi
je 0x49d9e1
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d9e1
call fcn.00455c10
jmp 0x49d9e1
lea eax, [ebx - 1]
mov dword [esp + 0x1c], 0
cmp eax, 3
jl 0x49d5e3
mov ecx, eax
shl ecx, 4
add eax, 0xfffffffe
lea ebp, [esp + ecx + 0x114]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x200]
mov ecx, edi
call fcn.0045fa10
test eax, eax
je 0x49d5d5
mov edx, dword [edi + 0xc8c]
mov eax, dword [edi + 0xc88]
shl edx, 4
push ebp
lea ecx, [edx + eax - 0x10]
call fcn.004546b0
mov eax, dword [esp + 0x10]
sub ebp, 0x10
dec eax
mov dword [esp + 0x10], eax
jne 0x49d5ab
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x49d5f0
mov eax, 0x4da3a4
push eax
call fcn.0041c290
mov ecx, dword [esi + 0x1fc]
mov edx, dword [esi + 0x200]
add ebx, 0xfffffffd
mov edi, eax
push ebx
push edi
push ecx
push edx
call fcn.0049cdb0
add esp, 0x14
mov ebx, 1
test al, al
jne 0x49d620
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, 0x4da3e8
call fcn.0041e810
mov edi, dword [esp + 0x18]
test edi, edi
jbe 0x49d8e3
mov eax, dword [esi + 0x200]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048bb70
mov eax, dword [esi + 0x200]
push eax
push 0x4da3a4
call fcn.004559c0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00454820
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49d699
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d699
call fcn.00455c10
mov ecx, dword [esi + 0x200]
call fcn.00467ee0
push eax
push 1
lea ecx, [esp + 0x3c]
call fcn.004543d0
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048cb30
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp]
call fcn.00454300
lea ecx, [esp + 0x34]
push 0
push ecx
lea ecx, [esp + 0x9c]
call fcn.0048cb30
test ebx, ebx
jne 0x49d80f
mov eax, dword [esi + 0x200]
push eax
push 0x4ce8a0
call fcn.004559c0
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x10], eax
push edx
call fcn.00454820
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49d74a
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d74a
call fcn.00455c10
mov eax, dword [esi + 0x200]
lea ecx, [esp + 0x6c]
push eax
call fcn.004545a0
mov edi, dword [esp + 0x74]
mov ecx, dword [esi + 0x200]
push 0
push str.Object
push edi
call fcn.00462ff0
push 0
push str.NetConnection.Call.Failed
push str.code
mov ecx, edi
call fcn.004537c0
push 0
push str.error
push str.level
mov ecx, edi
call fcn.004537c0
lea ecx, [esp + 0x6c]
push 0
push ecx
lea ecx, [esp + 0x9c]
call fcn.0048cb30
lea ecx, [esp + 0x6c]
call fcn.004548c0
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x49d7dd
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d7dd
call fcn.00455c10
lea ecx, [esp + 0x6c]
call fcn.00454270
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x49d84e
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d84e
call fcn.00455c10
jmp 0x49d84e
lea ecx, [esp + 0x34]
call fcn.00454480
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048cb30
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x200]
call fcn.0045fbe0
lea edx, [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x9c]
call fcn.0048cb30
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
call dword [sym.imp.WINMM.dll_timeGetTime]
and eax, 0x7fffffff
lea ecx, [esi + 0x80]
push eax
push edi
push ebx
push 0x14
call fcn.0048dc10
lea ecx, [esp + 0x34]
call fcn.004548c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49d8a7
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d8a7
call fcn.00455c10
lea ecx, [esp + 0x34]
call fcn.00454270
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49d8d7
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49d8d7
call fcn.00455c10
lea ecx, [esp + 0x94]
call fcn.0048bbe0
mov ecx, dword [esi + 0x200]
call fcn.0045fb60
jmp 0x49d9e1
mov eax, dword [esi + 0x14]
push ebp
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00499f00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x49d9e1
mov edi, dword [esi + 0x200]
mov byte [esp + 0x17], 0
mov ecx, edi
call fcn.0045fa10
test eax, eax
je 0x49d943
mov eax, dword [edi + 0xc8c]
mov ecx, dword [edi + 0xc88]
shl eax, 4
lea edx, [esp + 0x144]
push edx
lea ecx, [eax + ecx - 0x10]
call fcn.004546b0
mov edx, dword [esp + 0x28]
push 0x4d9530
push edx
call fcn.0041c090
add esp, 8
test al, al
mov eax, str.onResult
jne 0x49d963
mov eax, str.onStatus
mov ecx, dword [esi + 0x200]
push 0
push 0
push 0
push 0
push 1
push eax
push 0
push ebx
call fcn.00461e70
test eax, eax
je 0x49d991
mov ecx, dword [esi + 0x200]
push 1
call fcn.00439830
mov bl, 1
jmp 0x49d995
mov bl, byte [esp + 0x17]
mov ecx, dword [esi + 0x200]
call fcn.0045fb60
test bl, bl
jne 0x49d9d1
mov eax, dword [esp + 0x28]
push 0x4d9538
push eax
call fcn.0041c090
add esp, 8
test al, al
je 0x49d9d1
lea ecx, [esp + 0x144]
push ecx
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049e2a0
mov edx, dword [esi + 0x14]
push ebp
add edx, 0xc
push edx
call fcn.00499f20
add esp, 8
lea ecx, [esp + 0xdc]
call fcn.0048bbe0
lea ecx, [esp + 0xcc]
call fcn.0043e740
mov eax, dword [esp + 0x28]
mov ecx, 0x4da3e8
push eax
call fcn.0041e810
lea esi, [esp + 0x518]
mov edi, 0x40
sub esi, 0x10
lea ecx, [esi - 4]
call fcn.00454270
mov ecx, dword [esi]
test ecx, ecx
je 0x49da41
mov edx, dword [ecx]
mov eax, edx
and al, 0xfe
not edx
dec eax
and edx, 1
xor eax, edx
test eax, 0xfffffffe
mov dword [ecx], eax
jg 0x49da41
call fcn.00455c10
dec edi
jne 0x49da14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret 4