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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ebx, dword [esi + 0x1c]
movzx edx, byte [eax + 0x718]
test dl, 0x40
jne 0x49f050
test dl, dl
jns 0x49f070
mov edi, dword [esi + 0x4c]
mov dword [esp], eax
test edi, edi
cmove edi, ebx
call fcn.004899c0
mov edx, dword [esi + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0049c290
mov ebx, eax
test eax, eax
je 0x49f050
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x49f1a0
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edx, 0xe00000
mov eax, edx
setne cl
shr eax, 0x12
shl ecx, 2
and eax, 0x10
or ecx, fcn.00800000
or ecx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x20
or eax, ecx
mov ecx, dword [ebx + 0x3ea]
and ecx, 0xff7fffcb
or eax, ecx
mov ecx, 5
mov dword [ebx + 0x3ea], eax
movzx eax, word [esi + 0x6c]
mov dword [ebx + 0x3d8], edx
test ax, ax
cmove eax, ecx
mov word [ebx + 0x3f8], ax
movzx eax, byte [esi + 0x61]
mov byte [ebx + 0x406], al
mov eax, dword [esi + 0x58]
test eax, eax
je 0x49f088
and edx, 0x80000
mov dword [ebx + 0x2f0], eax
jne 0x49f060
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0049bdc0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x49f260
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00497350
test eax, eax
js 0x49f2b0
mov byte [ebx + 0x3fc], 0
movd xmm0, dword [esi + 8]
mov dword [ebx + 0x340], 0
mov dword [ebx + 0x3d0], 0xffffffff
pshuflw xmm0, xmm0, 0
movd dword [ebx + 0x3f0], xmm0
movzx eax, byte [esi + 0x60]
mov byte [ebx + 0x405], al
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 4]
mov ecx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x1e8]
shr ecx, 0xc
and ecx, 1
mov dword [ebx + 8], eax
mov eax, edx
shl ecx, 6
shr eax, 0x10
and eax, 1
add eax, eax
or eax, ecx
movzx ecx, byte [ebx + 0x3ec]
and ecx, 0xffffffbd
or eax, ecx
mov byte [ebx + 0x3ec], al
mov eax, dword [esi + 0x24]
test eax, eax
je 0x49ede7
or byte [ebx + 0x3e5], 8
mov dword [ebx + 0x340], eax
test edi, edi
je 0x49ee24
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0049be60
test eax, eax
je 0x49ee13
mov dword [esp + 8], 0xeb6398
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049d580
mov edx, dword [ebx + 0x340]
test edx, edx
je 0x49f240
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x44]
movdqu xmm0, xmmword [esi + 4]
lea edi, [esp + 0x38]
mov dword [ebx + 0x3a4], edx
movdqu xmm1, xmmword [esi + 0x14]
movd xmm2, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x48]
shufps xmm0, xmm1, 0x4c
movups xmmword [esp + 0x40], xmm0
movd xmm0, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xeb6356
punpckldq xmm0, xmm2
mov dword [esp + 4], 8
mov dword [esp], edi
movq qword [esp + 0x50], xmm0
call fcn.0048a610
mov eax, dword [esi + 0x50]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x78]
mov dword [esp], ebx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0049ea50
test eax, eax
jne 0x49f0d1
mov eax, dword [esi + 0x50]
test eax, eax
je 0x49eecd
mov dword [esp + 4], eax
lea eax, [ebx + 0x3ac]
mov dword [esp + 8], 0x18
mov dword [esp], eax
call fcn.0048a650
mov eax, dword [esi + 0x54]
mov edx, dword [ebx + 0x2fc]
mov dword [edx + 0x2c], eax
mov dword [ebx + 0xc], eax
test byte [ebx + 0x3ea], 4
jne 0x49f140
mov eax, dword [esp + 0x2c]
mov ecx, 0xeb6307
mov edi, dword [eax + 0x1cc]
mov eax, dword [ebx + 0x2ec]
mov edx, dword [eax]
mov eax, 0xeb630a
test edx, edx
cmove edx, eax
mov eax, dword [esi + 0x2c]
test eax, eax
cmove eax, ecx
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x148]
mov dword [esp + 8], eax
lea eax, [edi + 0x368]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xeb6367
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0048e060
mov eax, dword [esi + 0x30]
xor edi, edi
test eax, eax
je 0x49ef74
mov edi, dword [eax + 0x2e4]
mov dword [ebx + 0x2e0], eax
mov dword [ebx + 0x2e8], edi
mov dword [eax + 0x2e4], ebx
mov edx, dword [ebx + 0x2ec]
movzx eax, byte [edx + 0x15]
shr al, 4
je 0x49efa0
mov edx, dword [edx + 8]
movzx eax, al
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [edx + eax*4 - 4]
test eax, eax
jne 0x49f0c0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x49efa9
mov dword [eax], ebx
mov edi, dword [ebx + 8]
test edi, edi
je 0x49f0d1
mov edx, dword [ebx + 0x2ec]
cmp edx, 0xeba3c0
je 0x49f208
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x340]
mov dword [esp + 8], eax
movzx eax, byte [edx + 0x16]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [edi + 4]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x49f0a8
mov dword [esp + 4], 0xeb62ec
mov dword [esp], eax
call fcn.007ddf68
test eax, eax
jne 0x49f0a8
mov dword [ebx + 0x350], 0
cmp dword [ebx + 0x2ec], 0xeba3c0
je 0x49f034
test byte [ebx + 0x3a4], 1
jne 0x49f2c8
mov dword [esp], ebx
call fcn.0049e980
mov ebx, eax
test eax, eax
jne 0x49f0a8
lea esi, cs:[esi]
lea esi, [esi]
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
or byte [ebx + 0x3e9], 0x10
jmp 0x49ed24
mov dword [esp], eax
call fcn.00497aa0
test eax, eax
jne 0x49f050
mov eax, dword [esi]
jmp 0x49ec5c
mov eax, dword [esi]
add eax, 0x2b8
and edx, 0x80000
mov dword [ebx + 0x2f0], eax
je 0x49ed24
jmp 0x49f060
and byte [ebx + 0x3ec], 0x7f
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi + 0x30]
test edx, edx
je 0x49f0cd
mov dword [edx + 0x2e4], edi
test eax, eax
js 0x49f123
mov eax, dword [ebx + 0x350]
test eax, eax
je 0x49f0e3
mov dword [esp], ebx
call fcn.004c3b80
mov dword [esp + 8], 0xeb62f5
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x2fc]
mov dword [esp], eax
call fcn.004caa40
mov dword [ebx + 0x2fc], 0
mov dword [esp + 8], 0xeb638c
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004caa40
mov eax, dword [esi + 0x40]
test eax, eax
je 0x49f050
mov dword [eax], 0
jmp 0x49f050
mov dword [esp], eax
call fcn.004bc410
mov edx, 0xeb6307
mov edi, eax
mov eax, dword [ebx + 0x2ec]
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
test eax, eax
cmove eax, edx
mov edx, dword [esi]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x148]
mov dword [esp + 8], eax
lea eax, [edx + 0x368]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], 0xeb6359
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0048e060
jmp 0x49ef53
mov dword [esp + 4], 0xeb630f
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00498fe0
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x49eca2
mov edx, dword [esi]
mov eax, dword [edx + 0x550]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x49f32f
mov dword [esp + 4], 0xeb6320
mov eax, dword [eax + 0x1cc]
mov dword [esp], eax
call fcn.007ddf68
test eax, eax
jne 0x49eca2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x2c], eax
jmp 0x49eca2
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x49efee
mov dword [esp + 4], 0xeb6373
mov dword [esp], eax
call fcn.007ddf68
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x49efee
jmp 0x49efc6
mov eax, dword [esi + 0x24]
test eax, eax
je 0x49f321
or byte [ebx + 0x3e5], 8
mov dword [ebx + 0x340], eax
jmp 0x49ee21
mov dword [esp], ebx
call fcn.0049d260
mov dword [esp + 0x14], 0xeb6327
mov dword [esp], eax
mov dword [esp + 0x10], 0xeb6398
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x49bd40
call fcn.0048e010
mov eax, dword [ebx + 0x350]
test eax, eax
jne 0x49f0db
jmp 0x49f0e3
mov dword [esp], ebx
call fcn.0049d260
mov dword [esp + 0x14], 0xeb633f
jmp 0x49f270
lea eax, [esp + 0x34]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x34], 0
call fcn.004c8440
test eax, eax
je 0x49f034
cmp eax, 1
je 0x49f052
mov dword [esp + 8], 0xeb637d
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00496e60
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49f12e
jmp 0x49f050
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov edx, eax
jmp 0x49ee24
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call fcn.00489340
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], 0xeb6317
mov dword [esp + 0x10], 0xeb6398
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x487a80
mov dword [esp], eax
call fcn.0048e010
jmp 0x49f0d1