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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x51d06c]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, ecx
mov dword [esp + 0x50], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x90], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x98], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x44], eax
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x49ae64
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x44], 0x40
jne 0x49b677
movzx eax, word [edx]
mov dword [esp + 0xa4], eax
cmp eax, 0x3f
ja 0x49b677
movzx ebx, ax
xor edx, edx
xor esi, esi
mov edi, dword [esp + 0x7c]
mov eax, ebx
movlpd qword [esp + 0x88], xmm0
bts edx, eax
movlpd qword [esp + 0x48], xmm0
cmp eax, 0x20
mov byte [esp + 0x1c], 1
mov dword [esp + 0x38], ebx
cmovae esi, edx
mov dword [esp + 0x3c], ecx
xor edx, esi
mov dword [esp + 0x14], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x1c]
adc esi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x98], eax
mov eax, ecx
setne al
mov dword [esp + 0x18], esi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x60]
cmp edi, eax
ja 0x49b5dc
jb 0x49af3b
cmp esi, dword [esp + 0x80]
jae 0x49b5e3
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x3c], eax
jg 0x49b5d8
cmp dword [esp + 0x3c], 0
jle 0x49af6a
mov ebx, dword [esp + 0x74]
or ebx, dword [ecx + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x64]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jge 0x49af94
cmp word [esp + 0x98], 0
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x30], ecx
jne 0x49b5c4
jmp 0x49af9f
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 0x24]
test edx, 0x400
jne 0x49b5d2
xor eax, eax
mov word [ecx + 0x1e], ax
movzx eax, byte [ecx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x49b10e
mov ebx, dword [esp + 0x5c]
add ebx, 4
mov dword [esp + 0x20], ebx
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x48], ecx
cmovae edx, ecx
and ecx, esi
mov eax, edx
mov dword [esp + 0x34], edx
and eax, edi
or ecx, eax
jne 0x49b0a5
mov esi, dword [ebx]
test esi, esi
je 0x49b034
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x49b034
test eax, 0x40000
je 0x49b02d
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 4]
jmp 0x49b030
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49b014
cmp byte [esi], 0x9e
jne 0x49b0a1
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x49b0a1
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x6c]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push eax
add ecx, 0x50
call fcn.00497080
mov edi, eax
add esp, 0x14
test edi, edi
je 0x49b09d
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x49b0ce
mov eax, dword [esp + 0x30]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
je 0x49b0ca
mov eax, dword [eax + 0x30]
cmp edi, dword [eax]
je 0x49b0ca
inc ecx
add eax, 4
cmp ecx, edx
jl 0x49b091
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add dword [esp + 0x20], 0x18
inc eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x38]
jl 0x49afe3
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x24]
jmp 0x49b112
cmp ecx, edx
jge 0x49b09d
test bl, 0x82
je 0x49b0f4
cmp word [esi + 0x20], 0
jl 0x49b0f4
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push dword [edi]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.0045ac60
add esp, 4
test eax, eax
je 0x49b09d
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
or esi, dword [esp + 0x48]
or edi, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
jmp 0x49b0a5
mov edi, dword [esp + 0x30]
test edx, 0x1000
jne 0x49b483
test edx, 0x100
je 0x49b13d
mov dword [esp + 0x54], 0
mov eax, 1
mov dword [esp + 0x48], 0
jmp 0x49b16b
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x49b677
test byte [ecx + 0x38], 4
jne 0x49b677
movzx eax, word [ecx + 0x32]
cmp byte [ecx + 0x36], 0
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x34]
setne byte [esp + 0x1c]
movzx eax, ax
xor cl, cl
xor edx, edx
mov byte [esp + 0x27], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
test eax, eax
je 0x49b483
mov dword [esp + 0x34], edx
movzx esi, word [edi + 0x18]
mov bh, 1
mov byte [esp + 0x13], bh
cmp edx, esi
jge 0x49b20a
movzx eax, word [edi + 0x2a]
cmp edx, eax
jl 0x49b20a
mov ebx, dword [edi + 0x30]
mov eax, dword [esp + 0x84]
mov edi, dword [ebx + edx*4]
movzx ecx, word [edi + 0xc]
and eax, ecx
test ax, ax
je 0x49b1e0
mov eax, dword [esp + 0x1c]
test ecx, 0x100
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x49b466
test cl, 1
je 0x49b238
mov edi, dword [edi]
inc edx
cmp edx, esi
jge 0x49b202
mov ecx, dword [esp + 0x20]
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x49b234
inc edx
add ecx, 4
cmp edx, esi
jl 0x49b1f4
mov bh, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
test edi, edi
je 0x49b23e
mov eax, dword [edi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], ecx
mov bl, byte [edx + eax]
mov eax, dword [edi + 0xc]
mov byte [esp + 0x13], bl
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x49b24a
jmp 0x49b243
xor bh, bh
jmp 0x49b206
mov bh, byte [esp + 0x13]
jmp 0x49b20a
mov byte [esp + 0x13], 0
or ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
cmp byte [esp + 0x1c], 0
je 0x49b27a
test ecx, ecx
js 0x49b27a
cmp edx, esi
jl 0x49b27a
mov eax, dword [edi + 0xc]
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, ecx
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
cmove edx, edi
mov dword [esp + 0x1c], edx
xor edi, edi
test bh, bh
je 0x49b397
mov edx, dword [esp + 0x5c]
add edx, 4
mov dword [esp + 0x58], edx
nop
cmp edi, dword [esp + 0x38]
jge 0x49b397
xor ecx, ecx
mov eax, edi
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
mov dword [esp + 0x40], esi
cmp eax, 0x40
mov dword [esp + 0x88], ecx
mov eax, esi
mov esi, dword [esp + 0x2c]
cmovae eax, ecx
and ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x49b387
mov ecx, dword [edx]
test ecx, ecx
je 0x49b300
nop dword [eax]
mov eax, dword [ecx + 4]
test eax, 0x1000
je 0x49b300
test eax, 0x40000
je 0x49b2f9
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
jmp 0x49b2fc
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x49b2e0
mov al, byte [ebp + 0xc]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp esi, 0xffffffff
jl 0x49b328
cmp byte [ecx], 0x9e
jne 0x49b387
mov eax, dword [esp + 0x68]
cmp dword [ecx + 0x1c], eax
jne 0x49b387
movsx eax, word [ecx + 0x20]
cmp eax, esi
jmp 0x49b349
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
push dword [esp + 0x68]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.00461ec0
mov edx, dword [esp + 0x5c]
add esp, 4
test eax, eax
jne 0x49b387
cmp esi, 0xffffffff
je 0x49b3c8
mov eax, dword [esp + 0x44]
mov edx, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call fcn.0045aaf0
test eax, eax
jne 0x49b368
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x54]
mov bh, bl
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call fcn.00429650
test eax, eax
je 0x49b3c4
mov edx, dword [esp + 0x58]
add edx, 0x18
inc edi
mov dword [esp + 0x58], edx
test bh, bh
jne 0x49b290
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49b3aa
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x49b3af
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x28], 0
je 0x49b483
mov byte [esp + 0x1c], 1
jmp 0x49b48e
mov esi, dword [esp + 0x2c]
test byte [ebp + 0xc], 0x40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
lea eax, [edx + 1]
mov word [ecx + 0x1e], ax
jne 0x49b435
cmp byte [esp + 0x27], 0
lea eax, [edi + edi*2]
mov ecx, dword [esp + 0x5c]
mov al, byte [ecx + eax*8 + 0x10]
je 0x49b3fd
mov cl, byte [esp + 0x13]
xor cl, byte [esp + 0x26]
cmp cl, al
jne 0x49b397
jmp 0x49b435
xor al, byte [esp + 0x13]
mov byte [esp + 0x26], al
je 0x49b430
mov eax, dword [esp + 0x3c]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0xa0]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov byte [esp + 0x27], 1
mov ecx, dword [esp + 0x28]
cmp esi, 0xffffffff
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
add dword [esp + 0x34], 0x18
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x78]
jge 0x49b3af
mov edi, dword [esp + 0x30]
jmp 0x49b194
cmp byte [esp + 0x1c], 0
je 0x49b5b0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
or eax, dword [ecx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x49b5b8
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
add ebx, 4
mov dword [esp + 0x28], ebx
nop dword [eax]
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x18]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x49b594
mov ebx, dword [ebx]
test ebx, ebx
je 0x49b512
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.00496a40
mov ecx, edx
jmp 0x49b523
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x48], eax
or eax, ecx
mov dword [esp + 0x34], ecx
jne 0x49b570
mov byte [esp + 0xbc], 1
mov dword [esp + 0xac], fcn.0045cf40
mov dword [esp + 0xb0], 0x45cee0
mov dword [esp + 0xc0], eax
test ebx, ebx
je 0x49b570
mov edx, ebx
lea ecx, [esp + 0xa8]
call fcn.00458220
cmp byte [esp + 0xbc], 0
je 0x49b590
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
not ecx
and ecx, dword [esp + 0x48]
not eax
and eax, dword [esp + 0x34]
or ecx, eax
jne 0x49b590
or dword [esp + 0x18], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
add dword [esp + 0x28], 0x18
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x38]
jl 0x49b4d0
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x3c]
test dl, dl
jne 0x49af20
jmp 0x49b5d8
cmp byte [ecx + 0x1d], 0
jne 0x49b5e9
mov eax, dword [esp + 0x60]
cmp esi, dword [esp + 0x80]
jne 0x49b605
cmp edi, eax
jne 0x49b605
mov al, byte [esp + 0xa4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x1c], 0
jne 0x49b660
dec ebx
test ebx, ebx
jle 0x49b677
xor ecx, ecx
xor edx, edx
mov eax, ebx
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 0x49b63e
cmp esi, edx
je 0x49b649
dec ebx
test ebx, ebx
jle 0x49b677
mov esi, dword [esp + 0x18]
jmp 0x49b611
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc4]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret