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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x64
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x9c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
cmp ebp, 1
je 0x46fac2
cmp ebp, 2
je 0x46fab8
cmp ebp, 4
je 0x46faae
mov ebx, 1
mov eax, dword [esp + 0x8c]
shl eax, 6
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x94]
cmp ecx, esi
je 0x46ebf0
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x46ebf0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de0]
test esi, esi
mov dword [esp + 0x3c], esi
je 0x46e6e0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37c0]
mov dword [esp + 0x48], esi
jmp 0x46e6ed
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov dword [esp + 0x48], esi
cmp ebp, 1
je 0x46ed3e
cmp ebp, 2
je 0x46e999
cmp ebp, 4
jne 0x46e849
mov al, byte [esp + 0xa0]
test al, al
je 0x46e7e0
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x46eac7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov ebp, esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
jmp 0x46e751
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46e770
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46e78b
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebx + 4]
imul eax, dword [ecx + ebx + 8]
mov ebx, eax
cmp eax, 1
je 0x46ec90
lea ebx, [eax - 1]
test eax, eax
je 0x46e7cd
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebp
inc ebp
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x50]
dec ebx
cmp ebx, 0xffffffff
jne 0x46e7b0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46e74b
jmp 0x46ec4c
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46eac7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov dword [esp], ebx
call dword [ebp + 0x50]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x46e820
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
cmp ebp, 8
jne 0x46eac7
mov al, byte [esp + 0xa0]
test al, al
je 0x46e930
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x46eac7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x46e89d
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46e8c0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46e8db
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x46ec68
lea ebp, [eax - 1]
test eax, eax
je 0x46e91d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x54]
dec ebp
cmp ebp, 0xffffffff
jne 0x46e900
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46e897
jmp 0x46ecd0
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46eac7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
mov esi, esi
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x54]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x46e970
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
mov al, byte [esp + 0xa0]
test al, al
je 0x46ea70
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x46eac7
mov dword [esp + 0x30], edx
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x46e9e2
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46ea00
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46ea1b
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x46ecb0
lea ebp, [eax - 1]
test eax, eax
je 0x46ea5d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x4c]
dec ebp
cmp ebp, 0xffffffff
jne 0x46ea40
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46e9dc
jmp 0x46ed22
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46eac7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov dword [esp], ebx
call dword [ebp + 0x4c]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x46eaa3
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4ddc]
test esi, esi
je 0x46ebf0
xor ebx, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37c0]
test edi, edi
jle 0x46ed18
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x37cc]
shl ecx, 4
mov esi, dword [esp + 0x94]
mov ebp, esi
shl ebp, 7
mov dword [esp + 0x44], ebp
shl esi, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, ebx
xor ebp, ebp
mov esi, ecx
shl esi, 4
mov ebx, dword [esi + eax + 8]
test ebx, ebx
jle 0x46ed0f
mov edx, dword [esi + eax + 4]
lea edi, [ecx + ecx]
mov dword [esp + 0x24], ecx
xor ecx, ecx
test edx, edx
jle 0x46ecf8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x78]
jmp 0x46eb68
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + eax + 8]
imul ebx, dword [esp + 0x30]
mov eax, dword [esi + 0x4ddc]
mov ebp, edx
imul ebp, dword [esp + 0x34]
add ebp, dword [eax + edi*2 + 4]
imul edx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
imul ebx, edx
add ebp, ebx
mov edx, ecx
shl edx, 4
add ebp, edx
xor ebx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
call dword [0x4d5d88]
mov eax, dword [esi + 0x37cc]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + eax + 4]
mov ecx, dword [esp + 0x40]
imul ecx, edx
add ebp, ecx
add edi, 0x10
inc ebx
cmp ebx, 8
jl 0x46eba1
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
jl 0x46eb60
jmp 0x46ecec
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de8]
cmp esi, 1
je 0x46edc7
cmp ebp, 1
je 0x46eda9
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov dword [esp], ebp
mov al, byte [esp + 0xa0]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], al
call fcn.0045df90
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x50]
jmp 0x46e91d
mov edx, ebp
inc ebp
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x4c]
jmp 0x46e7cd
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x48]
jmp 0x46ea5d
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + eax + 8]
inc ebp
cmp ebp, ebx
jl 0x46eb39
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov edi, dword [edx + 0x37c0]
inc ecx
cmp ecx, edi
jl 0x46eb1b
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46eac7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x48]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x46ed80
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46eac7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
call dword [edx + 0xa0]
jmp 0x46ec42
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
cmp edi, 2
je 0x46f6f0
cmp edi, 2
jne 0x46ec03
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 2
jne 0x46ec03
cmp ebp, 1
jne 0x46ec0c
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 4]
sar eax, 4
mov dword [esp + 0x58], eax
mov esi, dword [edi + 8]
sar esi, 4
mov dword [esp + 0x5c], esi
mov edi, dword [edi + 0x4dec]
cmp edx, dword [edi + 0x10]
je 0x46ee84
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x44], eax
mov dword [edi], esi
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x98]
cmp edx, eax
jne 0x46ee6d
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], esi
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x44]
mov dword [edi + 0xc], esi
mov edi, dword [eax + 0x4dec]
jmp 0x46ee84
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov edi, dword [edi + 0x4dec]
mov dword [edi + 0x10], edx
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x46f4a2
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x46f4a2
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
mov dword [esp + 0x60], esi
jne 0x46efc7
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x46efb7
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x46ef9f
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x2c], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x46efd5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x2c]
shl eax, 4
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x46f524
shl edi, 7
add ecx, 0x10
inc ebx
imul edi, dword [esi + 8]
add edx, edi
mov esi, dword [esp + 0x48]
cmp ebx, esi
jl 0x46ef58
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x46efd5
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x46f5c0
jmp 0x46efd5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x46efd5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x98]
lea esi, [eax - 1]
cmp edx, esi
mov dword [esp + 0x48], esi
jne 0x46f0b4
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x50]
and eax, 0xf
je 0x46f0b4
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
xor edi, edi
cdq
idiv esi
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x3c], edi
test edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
jle 0x46f0b4
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x37cc]
add eax, eax
mov dword [esp + 0x44], edi
add eax, eax
add eax, eax
mov esi, eax
neg esi
add esi, 0x40
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x3c]
shl esi, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x38], ebx
mov ebx, edi
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
cmp esi, 1
je 0x46f65e
mov edi, dword [edi + 4]
shl edi, 7
imul esi, edi
add eax, esi
add ecx, 0x10
inc edx
cmp edx, ebp
jl 0x46f071
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x54]
lea eax, [esi + esi]
imul eax, ecx
mov dword [esp + 0x2c], eax
lea edi, [esi + esi]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x3c], edi
mov esi, dword [esi + 0x4dec]
mov esi, dword [esi + 8]
mov edi, dword [esp + 0x54]
lea esi, [esi + edi*2]
add esi, eax
lea eax, [edi - 1]
test edi, edi
je 0x46f10e
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x24]
mov esi, esi
movzx ebx, word [ebp]
dec eax
add ebp, 2
mov word [esi], bx
add esi, 2
cmp eax, 0xffffffff
jne 0x46f0f0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46f177
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 8]
add esi, 0xe
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x46f177
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ecx, 7
nop
lea esi, [esi]
movzx ebp, word [ebx]
add ebx, 0x10
dec ecx
mov word [esi], bp
add esi, 0x10
cmp ecx, 0xffffffff
jne 0x46f150
dec eax
cmp eax, 0xffffffff
jne 0x46f146
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46f1f7
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov edi, dword [esp + 0x94]
lea edi, [edi + edi]
mov esi, dword [esi + 0x4834]
add esi, 0xe
imul edi, dword [esp + 0x54]
add edi, dword [eax + 8]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x46f1f7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ebp, 7
nop
movzx ecx, word [esi]
add esi, 0x10
dec ebp
mov word [ebx], cx
add ebx, 0x10
cmp ebp, 0xffffffff
jne 0x46f1d0
dec eax
cmp eax, 0xffffffff
jne 0x46f1ca
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test edx, edx
jne 0x46f342
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x46f27a
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
add esi, 0x70
mov ebx, 7
nop
lea esi, [esi]
movzx ebp, word [ecx]
add ecx, 2
dec ebx
mov word [esi], bp
add esi, 2
cmp ebx, 0xffffffff
jne 0x46f250
add ecx, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x46f243
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46f2d4
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, 0x7e
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x46f2d4
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x44]
nop
movzx ebx, word [ebp]
add ebp, 0x80
dec eax
mov word [esi], bx
add esi, 0x80
cmp eax, 0xffffffff
jne 0x46f2b0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46f342
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x94]
lea esi, [esi + esi]
mov eax, dword [eax + 0x4834]
add eax, 0xe
imul esi, dword [esp + 0x54]
add esi, dword [edi + 4]
mov edi, dword [esp + 0x3c]
lea esi, [esi + edi + 0x70]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x46f342
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
lea esi, [esi]
movzx ebp, word [eax]
add eax, 0x80
dec ebx
mov word [esi], bp
add esi, 0x80
cmp ebx, 0xffffffff
jne 0x46f320
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x48]
cmp edx, eax
jne 0x46f4a2
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x46f3ca
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
add ebx, 0x70
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 2
dec ebp
mov word [esi], cx
add esi, 2
cmp ebp, 0xffffffff
jne 0x46f3a0
add esi, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x46f392
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46f433
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov eax, dword [eax + 0xc]
add eax, 0xe
mov edi, dword [esi + 0x4834]
add edi, 0x70
mov dword [esp + 0x48], edi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x46f433
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x44]
mov ebp, edi
nop
lea esi, [esi]
movzx ebx, word [ebp]
add ebp, 0x80
dec esi
mov word [eax], bx
add eax, 0x80
cmp esi, 0xffffffff
jne 0x46f410
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46f4a2
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x94]
lea eax, [eax + eax]
imul eax, dword [esp + 0x54]
add eax, dword [esi + 0xc]
mov esi, dword [edi + 0x4834]
add esi, 0x7e
add eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x46f4a2
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
mov esi, esi
lea edi, [edi]
movzx ebp, word [esi]
add esi, 0x80
dec ebx
mov word [eax], bp
add eax, 0x80
cmp ebx, 0xffffffff
jne 0x46f480
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jle 0x46ed18
mov eax, dword [esp + 0x5c]
cmp edx, eax
jle 0x46ed18
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
mov eax, dword [esp + 0x54]
lea esi, [eax + eax]
imul esi, ecx
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x44], esi
lea esi, [eax - 1]
je 0x46f51d
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x46f500
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
dec edx
jmp 0x46ec03
xor esi, esi
mov eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebp, ecx
cmp ecx, 8
jge 0x46f58f
cmp ebx, 6
jl 0x46f580
nop
lea esi, [esi]
movsx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
mov word [eax + ebp*2 + 2], dx
mov word [eax + ebp*2 + 4], dx
mov word [eax + ebp*2 + 6], dx
mov word [eax + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x46f550
lea esi, [esi]
lea edi, [edi]
movzx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x46f580
add eax, 0x10
inc esi
cmp esi, 8
jl 0x46f53c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x37cc]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
jmp 0x46ef67
xor esi, esi
mov eax, dword [esp + 0x40]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov edx, ebx
cmp ebx, 8
jge 0x46f62f
cmp eax, 6
jl 0x46f620
nop
lea esi, [esi]
movsx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
mov word [ecx + edx*2 + 2], bp
mov word [ecx + edx*2 + 4], bp
mov word [ecx + edx*2 + 6], bp
mov word [ecx + edx*2 + 8], bp
add edx, 5
cmp edx, 2
jl 0x46f5f0
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
inc edx
cmp edx, 8
jl 0x46f620
add ecx, 0x10
inc esi
cmp esi, 8
jl 0x46f5df
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x46efd5
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
cmp ecx, 0x40
jge 0x46f6c1
cmp edx, 0x30
jl 0x46f6b0
movsx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
mov word [ebx + eax*2 + 0x10], si
mov word [ebx + eax*2 + 0x20], si
mov word [ebx + eax*2 + 0x30], si
mov word [ebx + eax*2 + 0x40], si
add eax, 0x28
cmp eax, 0x10
jl 0x46f682
mov esi, esi
lea edi, [edi]
movzx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
add eax, 8
cmp eax, 0x40
jl 0x46f6b0
add ebx, 2
inc ebp
cmp ebp, 8
jl 0x46f676
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x37cc]
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
jmp 0x46f080
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 1
jne 0x46edda
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
lea edi, [ebx + ebx]
cdq
idiv edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x46f907
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
jne 0x46f843
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x46f833
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x46f81b
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x46f851
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x44]
shl eax, 4
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov ebx, eax
mov eax, dword [ebx + edi + 4]
cmp eax, 1
je 0x46f97d
shl eax, 7
add ecx, eax
add ebx, 0x10
inc ebp
cmp ebp, edx
jl 0x46f7de
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x46f851
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x46fa10
jmp 0x46f851
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x46f851
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
lea eax, [ecx + ecx]
mov edi, dword [esp + 0x54]
imul eax, edi
add eax, dword [esi + 4]
lea eax, [eax + edi*2]
lea esi, [edi - 1]
test edi, edi
je 0x46f89e
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x2c]
lea esi, [esi]
movzx ebx, word [ebp]
dec esi
add ebp, 2
mov word [eax], bx
add eax, 2
cmp esi, 0xffffffff
jne 0x46f880
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46f907
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov edi, dword [esi + 4]
lea esi, [edi + ebx*2 - 2]
mov eax, dword [eax + 0x4834]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
lea eax, [edi - 1]
test edi, edi
je 0x46f907
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 0x10
dec ebp
mov word [esi], cx
add esi, 0x10
cmp ebp, 0xffffffff
jne 0x46f8e0
dec eax
cmp eax, 0xffffffff
jne 0x46f8d7
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x46ed18
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
lea esi, [ecx + ecx]
mov eax, dword [esp + 0x54]
imul esi, eax
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x3c], esi
lea esi, [eax - 1]
je 0x46f96d
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
nop
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x46f950
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
jmp 0x46edda
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
mov ecx, ebp
cmp ebp, 8
jge 0x46f9df
cmp ebx, 6
jl 0x46f9d0
movsx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
mov word [eax + ecx*2 + 2], si
mov word [eax + ecx*2 + 4], si
mov word [eax + ecx*2 + 6], si
mov word [eax + ecx*2 + 8], si
add ecx, 5
cmp ecx, 2
jl 0x46f9a1
lea esi, [esi]
lea edi, [edi]
movzx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
inc ecx
cmp ecx, 8
jl 0x46f9d0
add eax, 0x10
inc edx
cmp edx, 8
jl 0x46f995
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0x37cc]
mov eax, dword [ebx + edi + 4]
jmp 0x46f7eb
xor esi, esi
mov eax, dword [esp + 0x24]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, ecx
cmp ecx, 8
jge 0x46fa7f
cmp eax, 6
jl 0x46fa70
nop
lea esi, [esi]
movsx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
mov word [ebx + ebp*2 + 2], dx
mov word [ebx + ebp*2 + 4], dx
mov word [ebx + ebp*2 + 6], dx
mov word [ebx + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x46fa40
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x46fa70
add ebx, 0x10
inc esi
cmp esi, 8
jl 0x46fa2f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x46f851
mov ebx, 2
jmp 0x46e692
mov ebx, 4
jmp 0x46e692
mov ebx, 8
jmp 0x46e692