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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov eax, ecx
mov dword [esp + 0x30], edx
xor ecx, ecx
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
mov ebx, ecx
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [esp + 0x94], cx
je 0x459f41
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x45a72c
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
cmp eax, 0x3f
ja 0x45a72c
xor edx, edx
movzx eax, ax
add eax, ecx
mov ebp, dword [esp + 0x7c]
inc edx
mov esi, dword [esp + 0x78]
mov byte [esp + 0x18], dl
xor edi, edi
xor edx, edx
movlpd qword [esp + 0x70], xmm0
bts edx, eax
movlpd qword [esp + 0x68], xmm0
cmp eax, 0x20
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
cmovae edi, edx
mov dword [esp + 0x14], ebp
xor edx, edi
mov dword [esp + 0x20], esi
cmp eax, 0x40
mov eax, dword [esp + 0x90]
push 0
cmovae edi, edx
add edx, 0xffffffff
mov dword [esp + 0x64], edx
adc edi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x88], eax
pop eax
setne al
mov dword [esp + 0x64], edi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], 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 0x45a6c5
jb 0x459ffe
cmp esi, edx
jae 0x45a6c7
movzx eax, word [esp + 0x94]
cmp dword [esp + 0x30], eax
jg 0x45a6d9
cmp dword [esp + 0x30], 0
jle 0x45a031
mov ebp, dword [esp + 0x48]
or ebp, dword [ebx + 8]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x4c]
or ebp, dword [ebx + 0xc]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
cmp ebx, eax
jge 0x45a05b
cmp word [esp + 0x84], 0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x28], ebx
jne 0x45a6b9
jmp 0x45a066
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 0x24]
test edx, 0x400
jne 0x45a6d3
mov eax, dword [esp + 0x90]
and eax, 0x80
mov dword [esp + 0x70], eax
je 0x45a08d
xor eax, eax
mov word [ebx + 0x1e], ax
movzx eax, byte [ebx + 0x10]
imul ecx, eax, 0x48
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x34], eax
cmp word [esp + 0x2c], ax
je 0x45a1d6
mov edx, dword [esp + 0x38]
add edx, 4
mov dword [esp + 0x24], edx
xor ecx, ecx
xor esi, esi
add eax, ecx
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, ebp
or ecx, eax
jne 0x45a1ae
mov ecx, dword [edx]
call fcn.0042ff37
mov ebx, eax
cmp byte [ebx], 0xa2
jne 0x45a1ae
mov edx, dword [esp + 0x50]
cmp dword [ebx + 0x18], edx
jne 0x45a1ae
mov ecx, dword [esp + 0x48]
xor eax, eax
push eax
mov eax, dword [esp + 0x84]
not ecx
movzx eax, ax
push eax
mov eax, dword [esp + 0x54]
not eax
push eax
movsx eax, word [ebx + 0x1c]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
lea ecx, [ecx + 0x50]
call fcn.00456fcb
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x45a1aa
movzx ecx, word [ebp + 0xc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x45a174
mov edx, dword [esp + 0x28]
xor eax, eax
movzx edx, word [edx + 0x28]
test edx, edx
je 0x45a170
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
cmp ebp, dword [ecx]
je 0x45a16c
inc eax
add ecx, 4
cmp eax, edx
jl 0x45a160
movzx ecx, word [ebp + 0xc]
cmp eax, edx
jge 0x45a1aa
test cl, 0x82
je 0x45a19a
xor eax, eax
cmp word [ebx + 0x1c], ax
jl 0x45a19a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push dword [ebp]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.0043008f
pop ecx
test eax, eax
je 0x45a1aa
mov ebp, dword [esp + 0x14]
or dword [esp + 0x20], esi
or ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x45a1ae
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
inc eax
add dword [esp + 0x24], 0x18
movzx ecx, dx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x45a0bf
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x24]
test edx, 0x1000
jne 0x45a5cb
test edx, 0x100
je 0x45a1f7
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
inc eax
jmp 0x45a231
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x45a72c
test byte [ecx + 0x38], 4
jne 0x45a72c
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 0x34]
je 0x45a235
test edx, 0x8000
jne 0x45a235
xor ecx, ecx
inc ecx
mov byte [esp + 0x18], cl
xor ecx, ecx
jmp 0x45a23b
xor ecx, ecx
mov byte [esp + 0x18], cl
xor edx, edx
movzx eax, ax
mov byte [esp + 0x1e], cl
mov ebp, edx
mov byte [esp + 0x1d], cl
mov cl, dl
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
test eax, eax
je 0x45a5cd
mov dword [esp + 0x54], edx
inc edx
movzx ecx, word [ebx + 0x18]
mov byte [esp + 0x13], dl
cmp ebp, ecx
jge 0x45a2e0
movzx eax, word [ebx + 0x2a]
cmp ebp, eax
jl 0x45a2e0
mov esi, dword [ebx + 0x30]
mov eax, dword [esp + 0x80]
mov edx, dword [esi + ebp*4]
movzx ecx, word [edx + 0xc]
and eax, ecx
test ax, ax
je 0x45a2ac
mov eax, dword [esp + 0x18]
test ecx, 0x180
push 0
pop ecx
movzx eax, al
cmove ecx, eax
xor edx, edx
mov byte [esp + 0x18], cl
inc edx
jmp 0x45a5a9
xor eax, eax
inc eax
test al, cl
movzx ecx, word [ebx + 0x18]
je 0x45a2dc
mov edi, dword [edx]
lea edx, [ebp + 1]
cmp edx, ecx
jge 0x45a2dc
lea ecx, [esi + 4]
movzx esi, word [ebx + 0x18]
lea ecx, [ecx + ebp*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x45a311
inc edx
add ecx, 4
cmp edx, esi
jl 0x45a2ca
movzx ecx, word [ebx + 0x18]
mov dl, byte [esp + 0x13]
xor eax, eax
mov edi, dword [esp + 0x40]
test edi, edi
je 0x45a31f
mov eax, dword [edi + 4]
movsx esi, word [eax + ebp*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], esi
mov dh, byte [eax + ebp]
xor eax, eax
inc eax
and dh, al
mov eax, dword [edi + 0xc]
mov byte [esp + 0x1c], dh
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x45a32a
jmp 0x45a323
movzx ecx, word [ebx + 0x18]
xor eax, eax
mov dl, al
mov byte [esp + 0x13], al
jmp 0x45a2e2
mov byte [esp + 0x1c], al
or esi, 0xffffffff
mov dword [esp + 0x24], esi
cmp byte [esp + 0x18], 0
je 0x45a362
test esi, esi
js 0x45a362
cmp ebp, ecx
jl 0x45a362
mov eax, dword [edi + 0xc]
mov ecx, esi
mov ebx, dword [esp + 0x18]
add ecx, ecx
movzx ebx, bl
xor esi, esi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
mov eax, ebx
mov ebx, dword [esp + 0x28]
cmove eax, esi
mov dword [esp + 0x18], eax
xor eax, eax
mov edi, eax
test dl, dl
je 0x45a478
mov esi, dword [esp + 0x38]
add esi, 4
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x2c]
movzx eax, cx
cmp edi, eax
jge 0x45a478
xor ecx, ecx
xor edx, edx
lea eax, [ecx + 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 + 0x14]
or edx, ecx
jne 0x45a4f8
mov ecx, dword [esi]
call fcn.0042ff37
mov dl, byte [esp + 0x13]
mov ecx, eax
mov al, byte [esp + 0x90]
and al, 0xc0
neg al
sbb al, al
and dl, al
cmp dword [esp + 0x24], 0xffffffff
mov al, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x1f], al
jl 0x45a496
cmp byte [ecx], 0xa2
jne 0x45a4fc
mov esi, dword [esp + 0x50]
cmp dword [ecx + 0x18], esi
mov esi, dword [esp + 0x44]
mov byte [esp + 0x13], dl
jne 0x45a4fc
movsx eax, word [ecx + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x13], dl
cmp eax, ecx
jne 0x45a4fc
cmp ecx, 0xffffffff
jne 0x45a4b7
cmp word [esp + 0x70], 0
je 0x45a42b
lea eax, [ebp + 1]
mov word [ebx + 0x1e], ax
mov esi, dword [esp + 0x38]
xor edx, edx
inc edx
test byte [esp + 0x90], 0x40
mov cl, dl
mov byte [esp + 0x1f], cl
jne 0x45a552
mov dh, byte [esp + 0x1e]
imul eax, edi, 0x18
mov al, byte [eax + esi + 0x10]
and al, dl
test dh, dh
je 0x45a511
mov ch, byte [esp + 0x1d]
mov dl, byte [esp + 0x1c]
xor dl, ch
mov byte [esp + 0x1d], ch
cmp dl, al
mov byte [esp + 0x1e], dh
sete cl
je 0x45a54f
test ebp, ebp
je 0x45a48b
mov eax, dword [esp + 0x68]
movzx eax, ax
cmp ebp, eax
jge 0x45a5b9
xor edx, edx
mov byte [esp + 0x18], dl
jmp 0x45a5bb
mov eax, dword [esp + 0x40]
push dword [esp + 0x50]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.00434b49
pop ecx
test eax, eax
jne 0x45a4f8
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.0042ff5d
test eax, eax
jne 0x45a4d3
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov dl, byte [esp + 0x1f]
mov byte [esp + 0x13], dl
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + ebp*4]
call fcn.0040d786
test eax, eax
je 0x45a41c
mov esi, dword [esp + 0x44]
mov dl, byte [esp + 0x13]
add esi, 0x18
inc edi
mov dword [esp + 0x44], esi
test dl, dl
jne 0x45a379
jmp 0x45a478
mov dl, al
xor dl, byte [esp + 0x1c]
mov byte [esp + 0x1d], dl
je 0x45a548
mov eax, dword [esp + 0x30]
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], ecx
or dword [eax + 4], edx
mov cl, byte [esp + 0x1f]
xor eax, eax
inc eax
mov byte [esp + 0x1e], al
xor edx, edx
inc edx
imul eax, edi, 0x18
test byte [eax + esi + 0x10], 2
je 0x45a577
movzx eax, word [ebx + 0x18]
cmp ebp, eax
jne 0x45a478
or dword [ebx + 0x24], 0x80000
test cl, cl
je 0x45a478
cmp dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x34]
movzx eax, al
cmove eax, edx
xor ecx, ecx
mov dword [esp + 0x34], eax
xor eax, eax
add edi, 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 + 0x14], ecx
add dword [esp + 0x54], 0x18
inc ebp
cmp ebp, dword [esp + 0x78]
jl 0x45a261
xor edx, edx
cmp byte [esp + 0x34], 0
je 0x45a5cd
xor eax, eax
inc eax
mov byte [esp + 0x18], al
jmp 0x45a5d8
xor edx, edx
cmp byte [esp + 0x18], 0
je 0x45a6a5
mov eax, dword [esp + 0x58]
or eax, dword [ebx + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
or eax, dword [ebx + 0xc]
mov ebx, edx
mov dword [esp + 0x5c], eax
movzx eax, cx
test eax, eax
je 0x45a6a1
mov ebp, dword [esp + 0x38]
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 + 0x20]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x45a68e
mov eax, dword [ebp]
mov edx, eax
mov ecx, dword [esp + 0x3c]
add ecx, 0x1e8
mov dword [esp + 0x78], eax
call fcn.00456a49
mov ecx, edx
mov dword [esp + 0x70], eax
or eax, ecx
mov dword [esp + 0x68], ecx
jne 0x45a66a
mov ecx, dword [esp + 0x78]
lea edx, [eax + 1]
push eax
call fcn.00431711
pop ecx
test eax, eax
je 0x45a68a
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
not ecx
and ecx, dword [esp + 0x70]
not eax
and eax, dword [esp + 0x68]
or ecx, eax
jne 0x45a68a
or dword [esp + 0x20], 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 0x45a60a
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
inc dword [esp + 0x30]
test cl, cl
jne 0x459fec
cmp esi, edx
jne 0x45a6d9
cmp ebp, edi
jne 0x45a6d9
mov al, byte [esp + 0x2c]
jmp 0x45a72e
cmp byte [ebx + 0x1d], 0
jne 0x45a6cd
test cl, cl
jne 0x45a728
mov ecx, dword [esp + 0x2c]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45a72c
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 0x45a719
cmp esi, edx
je 0x45a724
dec ebx
test ebx, ebx
jle 0x45a72c
mov esi, dword [esp + 0x20]
jmp 0x45a6eb
mov al, bl
jmp 0x45a72e
or al, 0xff
jmp 0x45a72e
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret