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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], eax
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
push esi
mov eax, dword [eax]
push edi
movlpd qword [esp + 0x80], xmm0
mov eax, dword [eax]
mov dword [esp + 0x70], eax
cmp word [ebp + 0x10], cx
je 0x49c512
test byte [eax + 0x3c], 0x80
jne 0x49cda0
movzx eax, word [edx]
mov dword [esp + 0x8c], eax
cmp eax, 0x3f
ja 0x49cda0
movzx ecx, ax
xor esi, esi
xor edi, edi
movlpd qword [esp + 0x78], xmm0
mov eax, ecx
movlpd qword [esp + 0x60], xmm0
bts esi, eax
mov dword [esp + 0x3c], ecx
cmp eax, 0x20
mov dword [esp + 0x44], 0
mov dl, 1
cmovae edi, esi
mov dword [esp + 0x20], edx
xor esi, edi
cmp eax, 0x40
mov eax, dword [esp + 0x7c]
cmovae edi, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
add esi, 0xffffffff
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
adc edi, 0xffffffff
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x68], eax
nop dword [eax]
nop dword [eax + eax]
cmp edi, dword [esp + 0x88]
ja 0x49cd1f
jb 0x49c5cb
mov eax, dword [esp + 0x5c]
cmp esi, eax
jae 0x49cd25
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x49cd1f
mov edx, dword [esp + 0x44]
test edx, edx
jle 0x49c603
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
or ecx, dword [edx + 8]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x6c]
or ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x3c]
cmp edx, eax
jge 0x49c612
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4]
jmp 0x49c615
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x30], eax
test edx, 0x400
jne 0x49cd15
movzx eax, byte [eax + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
shl ecx, 4
mov eax, dword [eax + 4]
mov edi, dword [ecx + eax + 0x38]
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], eax
cmp dword [esp + 0x3c], eax
jbe 0x49c795
xor esi, esi
mov dword [esp + 0x28], esi
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x60], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x50], edx
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x49c772
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov esi, dword [esi + eax]
test esi, esi
je 0x49c6b6
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x49c6b6
test eax, 0x40000
je 0x49c6af
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x49c6b2
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49c694
cmp byte [esi], 0x9a
jne 0x49c772
cmp dword [esi + 0x1c], edi
jne 0x49c772
mov eax, dword [esp + 0x6c]
mov edx, edi
mov ecx, dword [esp + 0x68]
not eax
push 0
push 0x182
not ecx
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x34]
push eax
lea ecx, [ecx + 0x148]
call fcn.004985a0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x49c76e
test byte [edi + 0x12], 0x82
je 0x49c756
cmp word [esi + 0x20], 0
jl 0x49c756
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + edx]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
call fcn.0045ec00
test eax, eax
jne 0x49c72d
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.0045ec00
test eax, eax
jne 0x49c747
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
push dword [eax]
push esi
call fcn.0042fb90
add esp, 8
test eax, eax
jne 0x49c76e
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
add dword [esp + 0x28], 0x18
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x3c]
jl 0x49c657
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x24]
test edx, 0x1000
jne 0x49ca98
test edx, 0x100
mov edx, dword [esp + 0x30]
je 0x49c7bc
xor edi, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
lea eax, [edi + 1]
jmp 0x49c7ea
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x50], edi
test edi, edi
je 0x49cda0
test byte [edi + 0x34], 4
jne 0x49cda0
movzx eax, word [edi + 0x2e]
cmp byte [edi + 0x32], 0
mov dword [esp + 0x60], eax
movzx eax, word [edi + 0x30]
setne byte [esp + 0x20]
movzx eax, ax
xor cl, cl
xor esi, esi
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x80], eax
test eax, eax
je 0x49ca98
movzx ecx, word [edx + 0x18]
cmp esi, ecx
jge 0x49c84f
cmp word [edx + 0x2a], 0
jne 0x49c84f
mov eax, dword [edx + 0x30]
mov eax, dword [eax + esi*4]
movzx eax, word [eax + 0x12]
test eax, 0x182
je 0x49c84f
test eax, 0x100
mov ecx, 0
mov eax, dword [esp + 0x20]
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x20], cl
jmp 0x49ca7d
test edi, edi
je 0x49c875
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], edx
mov al, byte [esi + eax]
mov byte [esp + 0x13], al
mov eax, dword [edi + 0xc]
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x49c881
jmp 0x49c87a
mov byte [esp + 0x13], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
cmp byte [esp + 0x20], 0
je 0x49c8ae
test edx, edx
js 0x49c8ae
cmp esi, ecx
jl 0x49c8ae
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x20]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
cmove edx, esi
mov dword [esp + 0x20], edx
xor esi, esi
mov byte [esp + 0x12], 1
xor edi, edi
nop word [eax + eax]
cmp esi, dword [esp + 0x3c]
jge 0x49c9b5
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x1c]
or edx, ecx
jne 0x49c9a6
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [edi + eax]
mov dword [esp + 0x78], eax
test eax, eax
je 0x49c927
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x49c927
test ecx, 0x40000
je 0x49c920
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x49c923
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x49c903
mov ecx, dword [ebp + 0xc]
and ecx, 0x300
neg ecx
sbb cl, cl
and cl, byte [esp + 0x12]
cmp byte [eax], 0x9a
mov byte [esp + 0x12], cl
mov byte [esp + 0x3b], cl
jne 0x49c9a6
mov edx, dword [esp + 0x34]
cmp dword [eax + 0x1c], edx
mov edx, dword [esp + 0x78]
mov byte [esp + 0x12], cl
jne 0x49c9a6
movsx eax, word [eax + 0x20]
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x49c9a6
test ecx, ecx
js 0x49c9e2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
call fcn.0045ec00
mov ecx, eax
test ecx, ecx
jne 0x49c982
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov al, byte [esp + 0x3b]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
push dword [eax + edx*4]
push dword [ecx]
call fcn.0042fb90
add esp, 8
test eax, eax
je 0x49c9e2
inc esi
add edi, 0x18
cmp byte [esp + 0x12], 0
jne 0x49c8c0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49c9c8
mov eax, dword [esp + 0x60]
movzx eax, ax
cmp ecx, eax
jge 0x49c9cd
mov byte [esp + 0x20], 0
cmp byte [esp + 0x48], 0
je 0x49ca98
mov byte [esp + 0x20], 1
jmp 0x49caa3
test dword [ebp + 0xc], 0x100
jne 0x49ca40
cmp byte [esp + 0x1b], 0
lea ecx, [esi + esi*2]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xc]
je 0x49ca0e
mov cl, byte [esp + 0x13]
xor cl, byte [esp + 0x1a]
cmp cl, al
jne 0x49c9b5
jmp 0x49ca40
mov dl, al
xor dl, byte [esp + 0x13]
mov byte [esp + 0x1a], dl
je 0x49ca3b
mov eax, dword [esp + 0x44]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x28], 0
mov eax, 1
mov edx, dword [esp + 0x48]
movzx edx, dl
cmovl edx, eax
xor eax, eax
bts eax, esi
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
mov esi, dword [esp + 0x2c]
cmovae ecx, eax
or dword [esp + 0x14], eax
or dword [esp + 0x1c], ecx
inc esi
mov dword [esp + 0x2c], esi
cmp esi, dword [esp + 0x80]
jge 0x49c9cd
mov edi, dword [esp + 0x50]
jmp 0x49c812
cmp byte [esp + 0x20], 0
je 0x49ccf7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
or ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x40]
or ecx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x49ccfb
xor edi, edi
mov dword [esp + 0x2c], edi
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x80], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x78], edx
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x49ccd9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
add ecx, 0x44
mov eax, dword [eax + 4]
mov esi, dword [edi + eax]
mov dword [esp + 0x48], esi
test esi, esi
jne 0x49cb3e
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
jmp 0x49cbe9
cmp byte [esi], 0x9a
jne 0x49cb87
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x49cb5d
mov esi, dword [esi + 0x1c]
add ecx, 4
cmp dword [ecx], esi
je 0x49cb70
inc eax
add ecx, 4
cmp eax, edx
jl 0x49cb51
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
jmp 0x49cbd1
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x49cbd1
mov edx, dword [esi + 0x10]
call fcn.00497e10
mov ecx, dword [esp + 0x24]
mov edi, edx
mov edx, dword [esp + 0x48]
mov esi, eax
lea ecx, [ecx + 0x44]
mov edx, dword [edx + 0xc]
call fcn.00497e10
mov ecx, dword [esp + 0x24]
or esi, eax
mov eax, dword [esp + 0x48]
or edi, edx
lea ecx, [ecx + 0x44]
test dword [eax + 4], 0x800
mov edx, dword [eax + 0x14]
je 0x49cbc8
call fcn.004970c0
jmp 0x49cbcd
call fcn.00497ea0
or esi, eax
or edi, edx
mov dword [esp + 0x50], esi
or esi, edi
mov dword [esp + 0x34], edi
jne 0x49cca2
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa8], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov byte [esp + 0xa4], 1
mov dword [esp + 0x90], fcn.00460880
mov dword [esp + 0x94], 0x460990
mov dword [esp + 0xa8], 0
test esi, esi
je 0x49cca2
lea eax, [esp + 0x90]
push esi
push eax
call fcn.00460880
add esp, 8
test eax, eax
jne 0x49cc98
test dword [esi + 4], 0x4000
jne 0x49cc98
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x90]
call fcn.0045c6d0
test eax, eax
jne 0x49cc98
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x90]
call fcn.0045c6d0
test eax, eax
jne 0x49cc98
test dword [esi + 4], 0x800
lea ecx, [esp + 0x90]
mov edx, dword [esi + 0x14]
je 0x49cc93
call fcn.0045c790
jmp 0x49cc98
call fcn.0045c750
cmp byte [esp + 0xa4], 0
je 0x49ccd9
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x34]
or ecx, eax
mov edi, dword [esp + 0x2c]
jne 0x49ccd9
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
add edi, 0x18
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], edi
cmp eax, ecx
jl 0x49cad5
jmp 0x49ccfb
mov ecx, dword [esp + 0x3c]
inc dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test dl, dl
jne 0x49c5b0
jmp 0x49cd1f
cmp byte [eax + 0x1d], 0
jne 0x49cd30
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
cmp esi, eax
jne 0x49cd3d
cmp edi, dword [esp + 0x88]
jne 0x49cd3d
mov al, byte [esp + 0x8c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x49cd98
lea eax, [ecx - 1]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x49cda0
nop dword [eax]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x49cd7b
cmp esi, edx
je 0x49cd8e
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
test eax, eax
jle 0x49cda0
mov esi, dword [esp + 0x14]
jmp 0x49cd50
mov al, byte [esp + 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or al, 0xff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret