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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x46b80b
sub esp, 0xec
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
jne 0x46afcd
movsd xmm0, qword [esp + 0xfc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x5202c0]
jmp 0x46affc
cmp edx, 0x40
jne 0x46b7f2
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 0x8c], xmm0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
lea eax, [0x5202d0]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov esi, ebx
mov ebx, dword [eax]
mov dword [esp + 0x84], ebx
mov edi, ebp
lea ebp, [edx + ebx]
mov dword [esp + 0x80], ebp
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x7c], ebp
lea edx, [ebx + edx - 0x20]
mov dword [esp + 0x78], edx
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov ecx, edx
mov edx, edi
shl edi, cl
mov ecx, dword [esp + 0x80]
shr esi, cl
and esi, ebp
mov ebp, dword [esp + 0x74]
and ebp, edi
or esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x78]
mov edi, edx
shr edx, cl
and ebx, edx
or ebx, esi
test ebx, ebx
setne dl
mov ecx, ebp
shr edi, cl
mov ebp, dword [esp + 0x7c]
test ebp, edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ebx, dword [esp + 0x84]
cmp ebx, 0x20
mov esi, edx
sbb edx, edx
mov dword [esp + 0x7c], edx
mov edi, ebp
mov ebp, dword [esp + 0x88]
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x70], ebp
lea ebp, [ebx - 0x20]
mov dword [esp + 0x78], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x74], ebp
cmp ebp, 0x20
sbb edx, edx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov dword [esp + 0x68], ebx
mov ecx, ebp
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, dword [esp + 0x78]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x68]
and edx, ebp
or edx, ebx
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x84]
mov ebp, 1
shl ebp, cl
mov ebx, dword [esp + 0x7c]
and ebp, ebx
mov dword [esp + 0x7c], ebp
add ebp, 0xffffffff
mov dword [esp + 0x60], ebp
adc edx, 0xffffffff
mov dword [esp + 0x5c], edx
or edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
shl edx, cl
mov ebp, dword [esp + 0x6c]
and edx, ebp
mov ecx, esi
mov ebp, dword [esp + 0x50]
mov esi, ebp
shr ebp, cl
and ebp, ebx
or ebp, edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov ebx, edx
shr edx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x68]
and edx, ebx
or edx, ebp
mov ebx, ecx
mov ecx, dword [esp + 0x88]
mov ebp, 1
shl ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x70]
and ebx, ebp
dec ebx
and edx, ebx
mov ebp, dword [esp + 0x60]
and ebp, esi
mov esi, ebp
mov ebp, dword [esp + 0x5c]
and ebp, ecx
cmp edx, ebx
jne 0x46b27a
test esi, esi
setne al
test ebp, ebp
setne cl
or ecx, eax
test cl, cl
je 0x46b1a0
mov eax, 3
lea ecx, [0x4a00c0]
jmp 0x46b1be
xchg edi, eax
test al, al
xchg edi, eax
je 0x46b1b3
mov eax, 4
lea ecx, [0x4a0148]
jmp 0x46b1be
mov eax, 4
lea ecx, [0x4a0144]
mov edx, dword [esp + 0xf4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf8]
cmp ebp, ebx
jb 0x46b1dc
mov esi, dword [esp + 0xf0]
jmp 0x46b22e
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x494280]
mov dword [esp + 0x10], ecx
call fcn.00446580
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf4]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x70], ebx
mov dword [esp + 0xd4], esi
mov dword [esp + 0x58], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045d930
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x118], eax
add esp, 0xec
ret
test edx, edx
jne 0x46b285
mov edx, 1
jmp 0x46b291
mov ecx, dword [esp + 0x64]
or ebp, ecx
mov ecx, dword [esp + 0x7c]
or esi, ecx
add edx, dword [eax + 8]
movzx ecx, byte [esp + 0x104]
cmp cl, 0x62
je 0x46b78f
cmp cl, 0x78
je 0x46b2af
cmp cl, 0x58
jne 0x46b321
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.0046cc00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
movzx ebx, byte [0x5201c1]
test bl, bl
je 0x46b71d
mov dword [esp + 0xd0], eax
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
mov ebx, edi
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.0045d23b
mov ecx, dword [esp + 0x108]
test ecx, ecx
jl 0x46b595
mov dword [esp + 0x44], ebp
mov edi, edx
movzx edx, byte [esp + 0x104]
cmp dl, 0x66
je 0x46b505
cmp dl, 0x47
ja 0x46b392
cmp dl, 0x45
je 0x46b397
cmp dl, 0x47
jne 0x46b386
test ecx, ecx
jmp 0x46b3b9
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
jmp 0x46b3e8
cmp dl, 0x65
jne 0x46b3b2
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
movzx edx, byte [esp + 0x104]
mov dword [esp + 0x70], ecx
jmp 0x46b3f1
cmp dl, 0x67
jne 0x46b3de
test ecx, ecx
jne 0x46b3cc
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
jmp 0x46b3d8
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, ecx
mov dword [esp + 0x70], ebp
jmp 0x46b3f1
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], edi
lea edi, [esp + 0x94]
call fcn.0045d23a
jne 0x46b472
cmp ebp, 9
jg 0x46b472
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x58]
sub ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0046d500
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
mov eax, 1
jmp 0x46b4ec
cmp ebp, 0x12
jg 0x46b4e9
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov edi, dword [esp + 0x58]
sub edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.0046d880
mov eax, dword [esp + 0x4c]
cmp eax, 0x12
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
setle al
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3a], al
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x108]
jmp 0x46b50f
mov eax, ecx
xor eax, eax
mov byte [esp + 0x3a], al
mov eax, ecx
movzx ebp, byte [esp + 0x3a]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46b521
test eax, eax
jmp 0x46b6a5
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], bl
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
call fcn.0046b820
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea edi, [esp + 0xac]
call fcn.0045d238
lea ecx, [esp + 0xac]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0xe0], 0x20
mov ecx, dword [esp + 0xd0]
mov ebx, dword [ecx]
mov eax, ecx
lea ecx, [esp + 0xd8]
mov dword [esp], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
sub edx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0046e4e0
movzx ecx, byte [esp + 0x104]
cmp cl, 0x47
ja 0x46b61e
cmp cl, 0x45
je 0x46b623
cmp cl, 0x47
jne 0x46b613
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x46b68a
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x46b69c
cmp cl, 0x65
jne 0x46b64a
mov eax, dword [esp + 0xe4]
dec eax
test eax, eax
jle 0x46b63a
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x46b69c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x46b69c
cmp cl, 0x66
jne 0x46b67c
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x46b66c
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x46b69c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x46b69c
cmp cl, 0x67
jne 0x46b693
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0xe4]
jmp 0x46b69c
mov eax, dword [esp + 0x108]
test eax, eax
mov edx, ecx
movzx ebx, byte [esp + 0x3b]
mov ecx, eax
mov dword [esp + 0x70], ecx
setl al
mov ebp, dword [esp + 0xf0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
lea edi, [esp + 0x10]
lea esi, [esp + 0xd8]
call fcn.0045d71e
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], dl
call fcn.0046bb60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.0046b820
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 8], ecx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.0046ca50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea eax, [0x4940c0]
mov dword [esp], eax
lea eax, [0x4be980]
mov dword [esp + 4], eax
call fcn.00433520
nop
call fcn.0045bc60
jmp fcn.0046af80