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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov eax, ecx
mov dword [esp + 0x34], edx
xor ecx, ecx
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x58], xmm0
cmp word [ebp + 0x10], cx
je 0x4b6408
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x4b6d00
movzx eax, word [edx]
mov dword [esp + 0x90], eax
cmp eax, 0x3f
ja 0x4b6d00
movzx ebx, ax
xor edx, edx
xor esi, esi
mov edi, dword [esp + 0x5c]
mov eax, ebx
movlpd qword [esp + 0x80], xmm0
bts edx, eax
movlpd qword [esp + 0x48], xmm0
cmp eax, 0x20
mov byte [esp + 0x14], 1
mov dword [esp + 0x34], ebx
cmovae esi, edx
mov dword [esp + 0x44], ecx
xor edx, esi
mov dword [esp + 0x10], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x14]
adc esi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
mov eax, ecx
setne al
mov dword [esp + 0x18], esi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
nop dword [eax]
mov eax, dword [esp + 0x78]
cmp edi, eax
ja 0x4b6c82
jb 0x4b64d8
cmp esi, dword [esp + 0x7c]
jae 0x4b6c86
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x4b6caa
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x4b6508
mov ebx, dword [esp + 0x60]
or ebx, dword [ecx + 8]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x64]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x34]
cmp esi, eax
jge 0x4b652b
cmp word [esp + 0x8c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x24], esi
je 0x4b6532
mov ecx, esi
jmp 0x4b6c6e
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x24], esi
mov edx, dword [esi + 0x24]
test edx, 0x400
jne 0x4b6c9a
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x4b6558
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x4b6673
mov ebx, dword [esp + 0x3c]
add ebx, 4
mov dword [esp + 0x28], 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, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x30], edx
and eax, edi
or ecx, eax
jne 0x4b6650
mov esi, dword [ebx]
test esi, esi
je 0x4b65e0
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x41000
je 0x4b65e0
test eax, 0x40000
je 0x4b65d9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 4]
jmp 0x4b65dc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4b65c0
cmp byte [esi], 0xa4
jne 0x4b6650
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x4b6650
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
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 + 0x50]
push eax
add ecx, 0x50
call fcn.004b23f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4b664c
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x4b66ad
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
je 0x4b66a9
mov eax, dword [eax + 0x30]
nop
cmp edi, dword [eax]
je 0x4b66a9
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4b6640
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 0x14
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x34]
jl 0x4b6587
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0x24]
test edx, 0x1000
jne 0x4b6b2e
test edx, 0x100
je 0x4b6775
mov edx, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
jmp 0x4b67b2
cmp ecx, edx
jge 0x4b664c
test bl, 0x82
je 0x4b673f
cmp word [esi + 0x20], 0
jl 0x4b673f
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00468910
mov ebx, eax
test ebx, ebx
jne 0x4b66df
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x200
je 0x4b66f2
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x4b66f8
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x100
jne 0x4b671b
test edi, edi
je 0x4b670e
test dword [edi + 4], 0x100
jne 0x4b6719
mov ecx, esi
call fcn.00468910
test eax, eax
jne 0x4b672a
mov edx, edi
mov ecx, esi
call fcn.00468910
test eax, eax
je 0x4b664c
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4b675c
test eax, eax
jne 0x4b6772
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
or eax, dword [esp + 0x48]
or edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
jmp 0x4b6650
movzx ecx, byte [eax + 0x509590]
movzx eax, byte [esi + 0x509590]
sub ecx, eax
jne 0x4b664c
inc edx
jmp 0x4b6730
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x4b6d00
test byte [ecx + 0x38], 4
jne 0x4b6d00
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x34]
je 0x4b67ac
test edx, 0x8000
jne 0x4b67ac
mov dl, 1
jmp 0x4b67ae
xor dl, dl
mov dword [esp + 0x14], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], eax
test eax, eax
je 0x4b6b2e
mov dword [esp + 0x30], ecx
nop dword [eax + eax]
movzx edi, word [esi + 0x18]
mov bl, 1
mov byte [esp + 0xf], bl
cmp ecx, edi
jge 0x4b6856
movzx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4b6856
mov ebx, dword [esi + 0x30]
mov eax, dword [esp + 0x74]
mov esi, dword [ebx + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4b6827
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x14], edx
jmp 0x4b6b0d
test cl, 1
mov ecx, dword [esp + 0x20]
je 0x4b6852
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, edi
jge 0x4b6852
inc ecx
lea ecx, [ebx + ecx*4]
nop dword [eax]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4b6883
inc edx
add ecx, 4
cmp edx, edi
jl 0x4b6840
mov ecx, dword [esp + 0x20]
mov bl, byte [esp + 0xf]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b688b
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov bh, byte [ecx + eax]
mov eax, dword [esi + 0xc]
and bh, 1
mov byte [esp + 0xf], bh
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x4b6897
jmp 0x4b6890
mov ecx, dword [esp + 0x20]
xor bl, bl
jmp 0x4b6856
mov byte [esp + 0xf], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
cmp byte [esp + 0x14], 0
je 0x4b68c4
test edx, edx
js 0x4b68c4
cmp ecx, edi
jl 0x4b68c4
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xc], 0
cmove edx, esi
mov dword [esp + 0x14], edx
xor edi, edi
test bl, bl
je 0x4b69f9
mov esi, dword [esp + 0x3c]
add esi, 4
mov dword [esp + 0x38], esi
nop dword [eax]
cmp edi, dword [esp + 0x34]
jge 0x4b69f9
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 + 0x18]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x4b69e9
mov ecx, dword [esi]
test ecx, ecx
je 0x4b6940
nop word [eax + eax]
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x4b6940
test eax, 0x40000
je 0x4b6939
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
jmp 0x4b693c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4b6920
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x28]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp edx, 0xffffffff
jl 0x4b6976
cmp byte [ecx], 0xa4
jne 0x4b69e9
mov eax, dword [esp + 0x68]
cmp dword [ecx + 0x1c], eax
jne 0x4b69e9
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x4b69e9
jmp 0x4b6999
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
push dword [esp + 0x68]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.004713e0
add esp, 4
test eax, eax
jne 0x4b69e9
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
je 0x4b6a3b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00468910
test eax, eax
jne 0x4b69be
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4b6a26
test ecx, ecx
jne 0x4b6a38
mov bl, bh
test ecx, ecx
je 0x4b6a3b
mov esi, dword [esp + 0x38]
add esi, 0x14
inc edi
mov dword [esp + 0x38], esi
test bl, bl
jne 0x4b68e0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4b6a0c
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x4b6a11
mov byte [esp + 0x14], 0
cmp byte [esp + 0x2c], 0
je 0x4b6b2e
mov byte [esp + 0x14], 1
jmp 0x4b6b39
movzx ecx, byte [ecx + 0x509590]
movzx eax, byte [eax + 0x509590]
sub ecx, eax
jne 0x4b69df
inc edx
jmp 0x4b69d0
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
je 0x4b6a55
lea eax, [ebx + 1]
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x4b6ab3
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0xc]
and al, 1
cmp byte [esp + 0x1f], 0
je 0x4b6a81
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x4b69f9
jmp 0x4b6ab3
mov dl, al
xor dl, byte [esp + 0xf]
mov byte [esp + 0x1e], dl
je 0x4b6aae
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 + 0x1f], 1
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0xc], 2
je 0x4b6ad4
movzx eax, word [esi + 0x18]
cmp ebx, eax
jne 0x4b69f9
or dword [esi + 0x24], 0x80000
cmp dword [esp + 0x28], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x2c]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
add dword [esp + 0x30], 0x14
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x58]
jge 0x4b6a11
mov esi, dword [esp + 0x24]
jmp 0x4b67e0
cmp byte [esp + 0x14], 0
je 0x4b6c5e
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x34]
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 + 0x38], eax
test ebx, ebx
je 0x4b6c66
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
add ebx, 4
mov dword [esp + 0x2c], ebx
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 0x4b6c42
mov ebx, dword [ebx]
test ebx, ebx
je 0x4b6bb6
mov ecx, dword [esp + 0x40]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.004b1ae0
mov ecx, edx
jmp 0x4b6bc7
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
or eax, ecx
mov dword [esp + 0x30], ecx
jne 0x4b6c1e
mov dword [esp + 0x98], fcn.0046ac40
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x46ab10
mov dword [esp + 0xac], 0
test ebx, ebx
je 0x4b6c1e
mov edx, ebx
lea ecx, [esp + 0x94]
call fcn.00465b80
cmp word [esp + 0xa8], 0
je 0x4b6c3e
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
not ecx
and ecx, dword [esp + 0x48]
not eax
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4b6c3e
or dword [esp + 0x18], esi
or dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
add dword [esp + 0x2c], 0x14
inc eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x34]
jl 0x4b6b74
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x44]
mov esi, dword [esp + 0x18]
test dl, dl
jne 0x4b64c0
mov eax, dword [esp + 0x78]
cmp esi, dword [esp + 0x7c]
jne 0x4b6caa
cmp edi, eax
jne 0x4b6caa
mov al, byte [esp + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1d], 0
je 0x4b6ca6
test byte [ebp + 0xc], 0x80
je 0x4b6c8c
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x14], 0
jne 0x4b6cf7
dec ebx
test ebx, ebx
jle 0x4b6d00
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 0x4b6ce3
cmp esi, edx
je 0x4b6cee
dec ebx
test ebx, ebx
jle 0x4b6d00
mov esi, dword [esp + 0x18]
jmp 0x4b6cb6
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or al, 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret