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

Disassembly:
sub esp, 0xb0
push esi
push edi
lea eax, [esp + 0xbc]
mov dword [esp + 0x4c], ecx
push eax
lea edi, [ecx + 0x3c]
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.00462b60
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
je 0x4929c3
shl esi, 5
add esi, dword [edi]
jmp 0x4929c5
xor esi, esi
lea eax, [esi + 0xc]
neg esi
sbb esi, esi
and esi, eax
mov al, 0
mov byte [esp + 0xb], al
je 0x492df9
push ebx
push ebp
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0040ce40
mov eax, dword [esp + 0x18]
lea ebp, [eax + 2]
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x1c]
jle 0x492a1e
push eax
lea ecx, [esp + 0x18]
call fcn.0040cde0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor bl, bl
xor edx, edx
nop word [eax + eax]
mov cl, byte [edx + 0x6293ec]
movsx ax, cl
test cl, cl
mov word [edi + edx*2], ax
sets al
inc edx
or bl, al
cmp edx, 2
jl 0x492a30
test bl, bl
je 0x492a76
xor eax, eax
lea ecx, [eax + 0x3f]
cmp byte [eax + 0x6293ec], 0
jge 0x492a61
mov word [edi + eax*2], cx
inc eax
cmp eax, 2
jl 0x492a54
push 2
push 0x6293ec
call fcn.004155b0
add esp, 8
mov eax, dword [esi + 4]
cmp eax, 1
jg 0x492aad
mov eax, dword [esp + 0x1c]
mov ebx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x492b3e
test ebp, ebp
je 0x492ab4
dec ebp
jmp 0x492ab6
xor ebp, ebp
lea ebx, [eax - 1]
mov dword [esp + 0x20], 0
dec eax
mov dword [esp + 0x24], 0
add eax, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0xbc], ebx
test eax, eax
jle 0x492aea
inc eax
lea ecx, [esp + 0x20]
push eax
call fcn.0040ce40
push ebx
push dword [esi]
lea ecx, [esp + 0x28]
call fcn.0040edd0
push ebp
push edi
lea ecx, [esp + 0x28]
call fcn.0040edd0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test edi, edi
je 0x492b3e
push edi
call fcn.0043f8f0
add esp, 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0
push eax
mov eax, dword [esp + 0xd8]
push eax
mov dword [esp + 0x4c], 0
call fcn.0048e400
mov eax, dword [esp + 0x48]
add esp, 0xc
test eax, eax
je 0x492dd5
dec eax
test eax, eax
jle 0x492dd5
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
cmp dword [ebp + 0x20], 0
lea eax, [ebp + 0xc]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jge 0x492be5
call fcn.00609320
nop
int3
cmp dword [eax + 0x14], 0
je 0x492bf4
lea ecx, [esp + 0x58]
call fcn.00410370
movups xmm2, xmmword [esp + 0x58]
mov dword [esp + 0x78], ebp
movq xmm0, qword [esp + 0x68]
movups xmmword [esp + 0x7c], xmm2
mov dword [esp + 0x74], ebp
movups xmm1, xmmword [esp + 0x78]
mov dword [esp + 0xb4], ebp
movq qword [esp + 0x8c], xmm0
movq xmm0, qword [esp + 0x88]
mov eax, dword [esp + 0x90]
psrldq xmm2, 8
movd ecx, xmm2
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
movq qword [esp + 0x68], xmm0
movups xmm0, xmmword [esp + 0x68]
mov word [esp + 0xb8], 0
movups xmmword [esp + 0x94], xmm1
movups xmmword [esp + 0xa4], xmm0
cmp eax, dword [ecx + 0x14]
jge 0x492dc4
mov esi, dword [esp + 0xa8]
mov ebp, 0xc
nop
mov edi, dword [esp + 0x94]
imul edx, esi, 0x2c
add edx, dword [edi]
mov eax, dword [edx + 8]
cmp eax, dword [esp + 0xcc]
mov eax, dword [edx]
sete cl
cmp eax, dword [esp + 0xc4]
sete al
test al, cl
je 0x492d0a
mov ecx, dword [edx + 0x1c]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
test eax, ecx
mov eax, 0x18
cmovle eax, ebp
add eax, edx
push eax
call fcn.0048e400
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x492ce8
add eax, ecx
cmp eax, 1
sete al
jmp 0x492d06
cmp eax, 1
jle 0x492d04
push dword [esp + 0x38]
push dword [esp + 0x48]
call fcn.0042e8d0
add esp, 8
test eax, eax
sete al
jmp 0x492d06
mov al, 1
test al, al
jne 0x492d3f
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x98]
not eax
and dword [esp + 0xa4], eax
call fcn.00410370
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
cmp esi, dword [eax + 0x14]
jl 0x492c80
jmp 0x492d9b
push dword [esp + 0xd0]
lea ecx, [esp + 0x7c]
call fcn.00487140
imul esi, esi, 0x2c
lea eax, [esp + 0x78]
push eax
add esi, dword [edi]
lea ecx, [esi + 0xc]
call fcn.00417730
lea eax, [esp + 0x84]
push eax
lea ecx, [esi + 0x18]
call fcn.00417730
mov eax, dword [esp + 0x84]
test eax, eax
je 0x492d85
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x492d96
push eax
call fcn.0043f8f0
add esp, 4
mov byte [esp + 0x13], 1
cmp byte [esp + 0xb8], 0
je 0x492dc4
cmp byte [esp + 0xb9], 0
je 0x492dc4
mov ecx, dword [esp + 0xb4]
push 1
mov eax, dword [ecx + 4]
sub eax, dword [ecx + 0x2c]
push eax
call fcn.0041ae10
mov eax, dword [esp + 0x44]
test eax, eax
je 0x492dd5
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x492de6
push eax
call fcn.0043f8f0
add esp, 4
test ebx, ebx
je 0x492df3
push ebx
call fcn.0043f8f0
add esp, 4
mov al, byte [esp + 0x13]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xb0
ret 0x10