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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov eax, ecx
mov dword [esp + 0x2c], edx
xor ecx, ecx
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x80], xmm0
cmp word [esp + 0x94], cx
je 0x460bb1
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x46138f
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
cmp eax, 0x3f
ja 0x46138f
movzx eax, ax
xor edx, edx
xor ebp, ebp
mov esi, dword [esp + 0x80]
add eax, ebp
movlpd qword [esp + 0x78], xmm0
xor edi, edi
movlpd qword [esp + 0x68], xmm0
lea ebx, [edx + 1]
mov dword [esp + 0x3c], ebp
bts edx, eax
mov dword [esp + 0x1c], ebx
cmp eax, 0x20
mov dword [esp + 0x18], esi
push ebp
cmovae edi, edx
mov ebp, dword [esp + 0x88]
xor edx, edi
mov dword [esp + 0x18], ebp
cmp eax, 0x40
mov eax, dword [esp + 0x94]
cmovae edi, edx
add edx, 0xffffffff
mov dword [esp + 0x24], edx
adc edi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x78], eax
pop eax
setne al
mov dword [esp + 0x44], edi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
cmp ebp, edi
ja 0x461312
jb 0x460c6b
cmp esi, edx
jae 0x461312
movzx eax, word [esp + 0x94]
cmp dword [esp + 0x3c], eax
jg 0x461312
mov edi, dword [esp + 0x3c]
test edi, edi
jle 0x460c9f
mov ebp, dword [esp + 0x48]
or ebp, dword [ecx + 8]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x4c]
or ebp, dword [ecx + 0xc]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x14]
cmp edi, eax
jge 0x460cc2
cmp word [esp + 0x74], 0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + edi*4]
mov dword [esp + 0x28], edi
jne 0x4612fe
jmp 0x460ccd
mov edi, dword [esp + 0x98]
mov dword [esp + 0x28], edi
mov edx, dword [edi + 0x24]
test edx, 0x400
jne 0x461324
mov eax, dword [esp + 0x90]
and eax, 0x80
mov dword [esp + 0x78], eax
je 0x460cf4
xor eax, eax
mov word [edi + 0x1e], ax
movzx eax, byte [edi + 0x10]
mov esi, dword [esp + 0x2c]
imul ecx, eax, 0x48
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x50], eax
xor eax, eax
movzx ecx, si
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x460e42
mov edx, dword [esp + 0x34]
add edx, 4
mov dword [esp + 0x30], edx
xor ecx, ecx
xor esi, esi
add eax, ecx
xor ebx, ebx
bts esi, eax
cmp eax, 0x20
cmovae ebx, esi
xor esi, ebx
cmp eax, 0x40
mov ecx, esi
cmovae ebx, esi
and ecx, dword [esp + 0x18]
mov eax, ebx
and eax, ebp
or ecx, eax
jne 0x460e16
mov ecx, dword [edx]
call fcn.00437202
mov edi, eax
cmp byte [edi], 0xa2
jne 0x460e16
mov edx, dword [esp + 0x50]
cmp dword [edi + 0x18], edx
jne 0x460e16
mov ecx, dword [esp + 0x48]
xor eax, eax
push eax
mov eax, dword [esp + 0x68]
not ecx
movzx eax, ax
push eax
mov eax, dword [esp + 0x54]
not eax
push eax
movsx eax, word [edi + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
lea ecx, [ecx + 0x50]
call fcn.0045dd31
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x460e12
movzx ecx, word [ebp + 0xc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x460ddc
mov edx, dword [esp + 0x28]
xor eax, eax
movzx edx, word [edx + 0x28]
test edx, edx
je 0x460dd8
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
cmp ebp, dword [ecx]
je 0x460dd4
inc eax
add ecx, 4
cmp eax, edx
jl 0x460dc8
movzx ecx, word [ebp + 0xc]
cmp eax, edx
jge 0x460e12
test cl, 0x82
je 0x460e02
xor eax, eax
cmp word [edi + 0x1c], ax
jl 0x460e02
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push dword [ebp]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.0043735a
pop ecx
test eax, eax
je 0x460e12
mov ebp, dword [esp + 0x14]
or dword [esp + 0x18], esi
or ebp, ebx
mov dword [esp + 0x14], ebp
jmp 0x460e16
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
inc eax
add dword [esp + 0x30], 0x18
movzx ecx, dx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
cmp eax, ecx
jl 0x460d2a
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi + 0x24]
test edx, 0x1000
jne 0x461215
test edx, 0x100
je 0x460e65
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], edx
inc eax
mov dword [esp + 0x68], edx
jmp 0x460ea9
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x46138f
test byte [ecx + 0x38], 4
jne 0x46138f
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 0x34]
je 0x460ea1
test edx, 0x8000
jne 0x460ea1
xor ecx, ecx
inc ecx
xor edx, edx
mov bl, cl
jmp 0x460ea5
xor edx, edx
mov bl, dl
mov dword [esp + 0x1c], ebx
movzx eax, ax
mov cl, dl
mov byte [esp + 0x13], dl
mov esi, edx
mov byte [esp + 0x12], dl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], eax
test eax, eax
je 0x461217
mov dword [esp + 0x54], edx
xor edx, edx
inc edx
movzx ebx, word [edi + 0x18]
mov byte [esp + 0x10], dl
cmp esi, ebx
jge 0x460f50
movzx eax, word [edi + 0x2a]
cmp esi, eax
jl 0x460f50
mov esi, dword [edi + 0x30]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov edx, dword [esi + ebp*4]
movzx ecx, word [edx + 0xc]
and eax, ecx
test ax, ax
je 0x460f24
mov eax, dword [esp + 0x1c]
test ecx, 0x180
push 0
pop ecx
movzx eax, al
mov esi, ebp
cmove ecx, eax
xor edx, edx
mov byte [esp + 0x1c], cl
inc edx
jmp 0x4611d8
xor eax, eax
inc eax
test al, cl
je 0x460f48
mov edi, dword [edx]
lea edx, [ebp + 1]
cmp edx, ebx
jge 0x460f48
lea ecx, [ebp + 1]
lea ecx, [esi + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x460f81
inc edx
add ecx, 4
cmp edx, ebx
jl 0x460f3a
mov dl, byte [esp + 0x10]
mov esi, dword [esp + 0x24]
xor eax, eax
mov edi, dword [esp + 0x40]
test edi, edi
je 0x460f8f
mov eax, dword [edi + 4]
movsx ebp, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], ebp
mov cl, byte [esi + eax]
xor eax, eax
inc eax
and cl, al
mov eax, dword [edi + 0xc]
mov byte [esp + 0x11], cl
movsx eax, word [eax + 0x28]
cmp ebp, eax
jne 0x460f9a
jmp 0x460f93
mov esi, dword [esp + 0x24]
xor eax, eax
mov dl, al
mov byte [esp + 0x10], dl
jmp 0x460f52
mov byte [esp + 0x11], al
or ebp, 0xffffffff
mov dword [esp + 0x30], ebp
cmp byte [esp + 0x1c], 0
je 0x460fc8
test ebp, ebp
js 0x460fc8
cmp esi, ebx
jl 0x460fc8
mov eax, dword [edi + 0xc]
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
add ecx, ecx
xor edi, edi
movzx ebx, bl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
cmove ebx, edi
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov ebp, ebx
test dl, dl
je 0x46112b
mov edi, dword [esp + 0x34]
add edi, 4
mov ecx, dword [esp + 0x2c]
movzx eax, cx
cmp ebp, eax
jge 0x46112b
xor edx, edx
lea eax, [ebx + ebp]
xor ecx, ecx
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 + 0x14]
or edx, ecx
jne 0x461113
mov ecx, dword [edi]
call fcn.00437202
mov ecx, eax
mov al, byte [esp + 0x90]
and al, 0xc0
neg al
sbb al, al
and al, byte [esp + 0x10]
cmp dword [esp + 0x30], 0xffffffff
mov dl, al
mov byte [esp + 0x10], dl
mov bl, dl
jl 0x461069
cmp byte [ecx], 0xa2
jne 0x46111d
mov eax, dword [esp + 0x50]
mov byte [esp + 0x10], dl
cmp dword [ecx + 0x18], eax
jne 0x46111d
movsx eax, word [ecx + 0x1c]
mov byte [esp + 0x10], dl
cmp eax, dword [esp + 0x30]
jne 0x46111d
jmp 0x46108e
mov eax, dword [esp + 0x40]
push dword [esp + 0x50]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.0043bd55
pop ecx
test eax, eax
jne 0x461119
cmp dword [esp + 0x30], 0xffffffff
je 0x4610ca
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call fcn.00437228
test eax, eax
jne 0x4610ad
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
mov byte [esp + 0x10], bl
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.0041505e
test eax, eax
jne 0x461119
cmp word [esp + 0x78], 0
mov edi, dword [esp + 0x28]
je 0x4610dd
lea eax, [esi + 1]
mov word [edi + 0x1e], ax
xor edx, edx
inc edx
test byte [esp + 0x90], 0x40
mov bl, dl
jne 0x461183
mov ecx, dword [esp + 0x34]
imul eax, ebp, 0x18
mov al, byte [eax + ecx + 0x10]
and al, dl
cmp byte [esp + 0x13], 0
je 0x461147
mov cl, byte [esp + 0x11]
xor cl, byte [esp + 0x12]
cmp cl, al
sete bl
jmp 0x46117f
mov dl, byte [esp + 0x10]
jmp 0x46111f
mov dl, byte [esp + 0x10]
xor ebx, ebx
inc ebp
add edi, 0x18
test dl, dl
jne 0x460fdb
test esi, esi
je 0x46113e
mov eax, dword [esp + 0x68]
movzx eax, ax
cmp esi, eax
jge 0x4611ef
xor edx, edx
mov al, dl
jmp 0x4611f5
xor al, byte [esp + 0x11]
mov byte [esp + 0x12], al
je 0x46117b
mov eax, dword [esp + 0x3c]
xor ecx, ecx
add eax, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x9c]
cmovae edx, ecx
or dword [eax + 4], edx
xor edx, edx
or dword [eax], ecx
inc edx
mov byte [esp + 0x13], dl
test bl, bl
je 0x46112b
mov ecx, dword [esp + 0x34]
imul eax, ebp, 0x18
test byte [eax + ecx + 0x10], 2
je 0x4611a0
movzx eax, word [edi + 0x18]
cmp esi, eax
jne 0x46120f
or dword [edi + 0x24], 0x80000
xor ecx, ecx
test bl, bl
je 0x46112b
cmp dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x58]
movzx eax, al
cmove eax, edx
add ebp, ecx
mov dword [esp + 0x58], eax
xor ecx, ecx
xor eax, eax
bts eax, ebp
cmp ebp, 0x20
cmovae ecx, eax
xor eax, ecx
cmp ebp, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x14], ecx
add dword [esp + 0x54], 0x18
inc esi
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x80]
jl 0x460ed6
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp byte [esp + 0x58], 0
mov edi, dword [esp + 0x28]
push 1
movzx eax, al
pop ecx
cmovne eax, ecx
mov bl, al
mov dword [esp + 0x1c], ebx
jmp 0x461217
xor ecx, ecx
mov bl, cl
jmp 0x4611a2
xor edx, edx
test bl, bl
je 0x4612f2
mov eax, dword [esp + 0x5c]
mov ebx, edx
or eax, dword [edi + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
or eax, dword [edi + 0xc]
mov dword [esp + 0x60], eax
movzx eax, cx
test eax, eax
je 0x4612ee
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
add ebp, 4
xor ecx, ecx
xor esi, esi
xor edi, edi
lea eax, [ecx + ebx]
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 0x4612db
mov eax, dword [ebp]
mov edx, eax
mov ecx, dword [esp + 0x38]
add ecx, 0x1e8
mov dword [esp + 0x80], eax
call fcn.0045d780
mov ecx, edx
mov dword [esp + 0x78], eax
or eax, ecx
mov dword [esp + 0x68], ecx
jne 0x4612b7
mov ecx, dword [esp + 0x80]
lea edx, [eax + 1]
push eax
call fcn.00438ac3
pop ecx
test eax, eax
je 0x4612d7
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
not ecx
and ecx, dword [esp + 0x78]
not eax
and eax, dword [esp + 0x68]
or ecx, eax
jne 0x4612d7
or dword [esp + 0x18], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc ebx
movzx eax, cx
add ebp, 0x18
cmp ebx, eax
jl 0x461251
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
test bl, bl
jne 0x460c59
mov ecx, dword [esp + 0x20]
cmp esi, ecx
jne 0x46133c
cmp ebp, edi
jne 0x46133c
mov al, byte [esp + 0x2c]
jmp 0x461391
cmp byte [edi + 0x1d], 0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
je 0x461316
mov esi, ecx
mov ebp, edi
mov dword [esp + 0x18], esi
jmp 0x461316
test bl, bl
jne 0x46138b
mov ecx, dword [esp + 0x2c]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x46138f
xor ecx, ecx
xor edx, edx
lea eax, [ecx + 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, ebp
cmp eax, ecx
jne 0x46137c
cmp esi, edx
je 0x461387
dec ebx
test ebx, ebx
jle 0x46138f
mov esi, dword [esp + 0x18]
jmp 0x46134e
mov al, bl
jmp 0x461391
or al, 0xff
jmp 0x461391
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret