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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x6b7e64]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x90], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x44], eax
movlpd qword [esp + 0x38], xmm0
cmp word [ebp + 0x10], cx
je 0x4b6b44
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x4b7551
movzx eax, word [edx]
mov dword [esp + 0x30], eax
cmp eax, 0x3f
ja 0x4b7551
movzx eax, ax
xor edx, edx
bts edx, eax
mov edi, dword [esp + 0x3c]
xor ebx, ebx
movlpd qword [esp + 0x78], xmm0
cmp eax, 0x20
movlpd qword [esp + 0x50], xmm0
mov byte [esp + 0x1c], 1
cmovae ebx, edx
mov dword [esp + 0x10], edi
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x38]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x20], edx
sbb eax, eax
neg eax
add eax, 0x182
xor esi, esi
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x88]
cmp edi, eax
ja 0x4b74b7
jb 0x4b6c0e
cmp edx, dword [esp + 0x8c]
jae 0x4b74be
movzx eax, word [ebp + 0x10]
cmp esi, eax
jg 0x4b74ef
test esi, esi
jle 0x4b6c38
mov edi, dword [esp + 0x60]
or edi, dword [ecx + 8]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x74]
or edi, dword [ecx + 0xc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x10]
cmp esi, eax
jge 0x4b6c5e
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test eax, 0x800
je 0x4b6c6c
mov ecx, esi
jmp 0x4b749f
mov esi, dword [esp + 0x94]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test dword [esi + 0x2c], 0x400
jne 0x4b74dd
and eax, 0x80
mov dword [esp + 0x78], eax
je 0x4b6c8a
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
mov edx, dword [esp + 0x30]
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 + 0x64], eax
xor eax, eax
mov dword [esp + 0x28], eax
test dx, dx
je 0x4b6ee7
mov ebx, dword [esp + 0x40]
add ebx, 8
mov dword [esp + 0x18], ebx
nop
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, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x34], edx
and eax, edi
or ecx, eax
jne 0x4b6ec2
mov esi, dword [ebx]
test esi, esi
je 0x4b6ec2
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x4b6d2d
test eax, 0x80000
je 0x4b6d19
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x4b6d21
cmp byte [esi], 0x71
jne 0x4b6d25
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4b6d00
test esi, esi
je 0x4b6ec2
mov al, byte [esi]
cmp al, 0xa7
je 0x4b6d3b
cmp al, 0xa9
jne 0x4b6ec2
mov edx, dword [esp + 0x64]
cmp dword [esi + 0x1c], edx
jne 0x4b6ec2
mov eax, dword [esp + 0x84]
xor ebx, ebx
movsx ecx, word [esi + 0x20]
push ebx
movzx eax, ax
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xc8]
lea edx, [edx + 0x50]
call fcn.004b1090
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b6dca
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
not eax
not ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
nop dword [eax]
mov edx, dword [edi + 0x20]
mov ecx, edx
and ecx, eax
mov eax, dword [edi + 0x24]
and eax, dword [esp + 0x50]
or ecx, eax
jne 0x4b6db2
or edx, dword [edi + 0x24]
jne 0x4b6dad
test byte [edi + 0xc], 0x82
jne 0x4b6dcc
test ebx, ebx
cmove ebx, edi
lea ecx, [esp + 0xb8]
call fcn.004b0da0
mov edi, eax
test edi, edi
je 0x4b6dca
mov eax, dword [esp + 0x4c]
jmp 0x4b6d90
mov edi, ebx
test edi, edi
je 0x4b6ebe
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x4b6e04
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x4b6dfc
mov eax, dword [eax + 0x38]
nop
cmp edi, dword [eax]
je 0x4b6dfc
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4b6df0
cmp ecx, edx
jge 0x4b6ebe
test bl, 0x82
je 0x4b6e8f
cmp word [esi + 0x20], 0
jl 0x4b6e8f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00453b70
mov ebx, eax
test ebx, ebx
jne 0x4b6e32
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x4b6e45
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x4b6e4b
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x4b6e6e
test edi, edi
je 0x4b6e61
test dword [edi + 4], 0x200
jne 0x4b6e6c
mov ecx, esi
call fcn.00453b70
test eax, eax
jne 0x4b6e79
mov edx, edi
mov ecx, esi
call fcn.00453b70
test eax, eax
je 0x4b6ebe
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x4b6ea9
test eax, eax
jne 0x4b6ebb
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
or edx, dword [esp + 0x48]
or edi, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edi
jmp 0x4b6ec2
movzx ecx, byte [eax + 0x6949d8]
movzx eax, byte [esi + 0x6949d8]
sub ecx, eax
jne 0x4b6ebe
inc edx
jmp 0x4b6e80
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
inc eax
add dword [esp + 0x18], 0x14
mov ebx, dword [esp + 0x18]
movzx ecx, dx
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x4b6cc0
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
test eax, 0x1000
jne 0x4b7328
test eax, 0x100
je 0x4b6f13
mov dword [esp + 0x5c], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x4b6f4f
mov edx, dword [esi + 0x20]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x4b7551
test byte [edx + 0x38], 4
jne 0x4b7551
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x4b6f4a
mov byte [esp + 0x1c], 1
test eax, 0x8000
je 0x4b6f4f
mov byte [esp + 0x1c], 0
xor al, al
xor dl, dl
mov byte [esp + 0x17], al
mov dword [esp + 0x28], eax
movzx eax, cx
mov byte [esp + 0x16], dl
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x4b7328
mov dword [esp + 0x4c], edx
nop dword [eax + eax]
movzx edi, word [esi + 0x18]
mov bl, 1
mov byte [esp + 0xf], bl
cmp edx, edi
jge 0x4b6ff6
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x4b6ff6
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x84]
mov esi, dword [ebx + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4b6fcc
mov eax, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x4b730b
test cl, 1
je 0x4b7029
mov esi, dword [esi]
inc edx
cmp edx, edi
jge 0x4b6fee
mov ecx, dword [esp + 0x18]
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4b7025
inc edx
add ecx, 4
cmp edx, edi
jl 0x4b6fe0
mov bl, byte [esp + 0xf]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4b702f
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov bh, byte [edx + eax]
mov eax, dword [esi + 0xc]
and bh, 1
mov byte [esp + 0xf], bh
movsx eax, word [eax + 0x20]
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
jmp 0x4b7037
xor bl, bl
jmp 0x4b6ff2
mov bl, byte [esp + 0xf]
jmp 0x4b6ff6
or ecx, 0xffffffff
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
test al, al
je 0x4b7070
test ecx, ecx
js 0x4b7061
cmp edx, edi
jl 0x4b7070
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x4b7070
mov byte [esp + 0x1c], 0
jmp 0x4b7070
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x1c], eax
xor edi, edi
test bl, bl
je 0x4b71dd
mov esi, dword [esp + 0x40]
add esi, 8
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp edi, eax
jge 0x4b71dd
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x4b71cd
mov edx, dword [esi]
test edx, edx
je 0x4b71cd
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x4b70f2
test eax, 0x80000
je 0x4b70de
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x4b70e6
cmp byte [edx], 0x71
jne 0x4b70ea
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4b70c5
test edx, edx
je 0x4b71cd
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x34]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x4b7133
mov al, byte [edx]
cmp al, 0xa7
je 0x4b7116
cmp al, 0xa9
jne 0x4b71cd
mov eax, dword [esp + 0x64]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x4b71cd
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x4b71cd
jmp 0x4b717d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x4b7156
test dword [eax + 4], 0x2000
je 0x4b7156
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b7146
test dword [edx + 4], 0x2000
je 0x4b7166
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4b7156
push dword [esp + 0x64]
xor ecx, ecx
push eax
call fcn.0045ddb0
add esp, 8
test eax, eax
jne 0x4b71cd
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x4b721f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00453b70
test eax, eax
jne 0x4b71a2
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b720a
test ecx, ecx
jne 0x4b721c
mov bl, bh
test ecx, ecx
je 0x4b721f
mov esi, dword [esp + 0x48]
add esi, 0x14
inc edi
mov dword [esp + 0x48], esi
test bl, bl
jne 0x4b7085
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b71f0
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x4b71f5
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x28], 0
je 0x4b7328
mov byte [esp + 0x1c], 1
jmp 0x4b7333
movzx eax, byte [eax + 0x6949d8]
movzx ecx, byte [ecx + 0x6949d8]
sub ecx, eax
jne 0x4b71c3
inc edx
jmp 0x4b71b4
cmp word [esp + 0x78], 0
mov esi, dword [esp + 0x24]
je 0x4b7234
mov eax, dword [esp + 0x18]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x2f], 1
jne 0x4b72b1
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x17]
mov dl, byte [ecx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x4b727d
mov dh, byte [esp + 0x16]
xor ecx, ecx
mov bl, byte [esp + 0xf]
movzx eax, byte [esp + 0x2f]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x16], dh
mov byte [esp + 0x17], bh
cmove ecx, eax
test cl, cl
je 0x4b71dd
jmp 0x4b72b1
xor dl, byte [esp + 0xf]
mov byte [esp + 0x16], dl
je 0x4b72ac
mov eax, dword [esp + 0x70]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x98]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0x18]
test byte [ecx + eax*4 + 0x10], 2
je 0x4b72d6
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x4b71dd
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x34], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x28]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x20], eax
or dword [esp + 0x10], ecx
add dword [esp + 0x4c], 0x14
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x38]
jge 0x4b71f5
mov esi, dword [esp + 0x24]
jmp 0x4b6f80
cmp byte [esp + 0x1c], 0
je 0x4b748f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
or eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x50], eax
cmp word [esp + 0x30], ax
je 0x4b7493
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
add edx, 8
mov dword [esp + 0x28], edx
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 + 0x20]
mov eax, edi
and eax, ebx
or ecx, eax
jne 0x4b746e
mov eax, dword [edx]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4b740f
mov ecx, dword [esp + 0x44]
mov edx, eax
add ecx, 0x1f0
call fcn.004b08b0
mov ebx, eax
mov dword [esp + 0x78], edx
or eax, edx
jne 0x4b744e
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x9c]
mov eax, 1
mov dword [esp + 0xa0], fcn.00456a60
mov word [esp + 0xb0], ax
mov dword [esp + 0xa4], 0x456900
mov dword [esp + 0xb4], 0
call fcn.00450150
cmp word [esp + 0xb0], 0
mov edx, dword [esp + 0x78]
je 0x4b746a
jmp 0x4b744e
xorps xmm0, xmm0
mov dword [esp + 0xa0], fcn.00456a60
movlpd qword [esp + 0x38], xmm0
mov eax, 1
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov word [esp + 0xb0], ax
mov dword [esp + 0xa4], 0x456900
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
not eax
and ecx, ebx
and eax, edx
or ecx, eax
jne 0x4b746a
or dword [esp + 0x20], esi
or dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
inc eax
add dword [esp + 0x28], 0x14
movzx ecx, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
cmp eax, ecx
jl 0x4b7370
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x70]
inc esi
mov dword [esp + 0x70], esi
test bl, bl
jne 0x4b6bf0
mov eax, dword [esp + 0x88]
cmp edx, dword [esp + 0x8c]
jne 0x4b74ef
cmp edi, eax
jne 0x4b74ef
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x20], 0
je 0x4b74ef
and eax, 0x280
cmp eax, 0x80
jne 0x4b74c4
test bl, bl
jne 0x4b757f
mov ecx, dword [esp + 0x30]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x4b7551
cmp ebx, 0x40
jge 0x4b7529
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
adc edx, 0xffffffff
jmp 0x4b753a
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x20]
and esi, edi
cmp eax, ecx
jne 0x4b754c
cmp esi, edx
je 0x4b7568
dec ebx
test ebx, ebx
jg 0x4b7505
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11c]
or al, 0xff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061e015
mov esp, ebp
pop ebp
ret