Function at 0x46dc20
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 0x46f0a2
cmp ebp, 2
je 0x46f098
cmp ebp, 4
je 0x46f08e
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 0x46e1d0
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x46e1d0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de0]
test esi, esi
mov dword [esp + 0x3c], esi
je 0x46dcc0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37c0]
mov dword [esp + 0x48], esi
jmp 0x46dccd
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov dword [esp + 0x48], esi
cmp ebp, 1
je 0x46e31e
cmp ebp, 2
je 0x46df79
cmp ebp, 4
jne 0x46de29
mov al, byte [esp + 0xa0]
test al, al
je 0x46ddc0
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 0x46e0a7
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 0x46dd31
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46dd50
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46dd6b
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 0x46e270
lea ebx, [eax - 1]
test eax, eax
je 0x46ddad
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 0x46dd90
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46dd2b
jmp 0x46e22c
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46e0a7
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 0x46de00
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46e0a7
cmp ebp, 8
jne 0x46e0a7
mov al, byte [esp + 0xa0]
test al, al
je 0x46df10
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 0x46e0a7
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 0x46de7d
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46dea0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46debb
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 0x46e248
lea ebp, [eax - 1]
test eax, eax
je 0x46defd
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 0x46dee0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46de77
jmp 0x46e2b0
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46e0a7
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 0x46df50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46e0a7
mov al, byte [esp + 0xa0]
test al, al
je 0x46e050
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 0x46e0a7
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 0x46dfc2
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x46dfe0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x46dffb
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 0x46e290
lea ebp, [eax - 1]
test eax, eax
je 0x46e03d
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 0x46e020
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x46dfbc
jmp 0x46e302
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46e0a7
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 0x46e083
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 0x46e1d0
xor ebx, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37c0]
test edi, edi
jle 0x46e2f8
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 0x46e2ef
mov edx, dword [esi + eax + 4]
lea edi, [ecx + ecx]
mov dword [esp + 0x24], ecx
xor ecx, ecx
test edx, edx
jle 0x46e2d8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x78]
jmp 0x46e148
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 [0x4d45a8]
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 0x46e181
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
jl 0x46e140
jmp 0x46e2cc
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de8]
cmp esi, 1
je 0x46e3a7
cmp ebp, 1
je 0x46e389
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.0045d570
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 0x46e0a7
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 0x46defd
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 0x46ddad
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 0x46e03d
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 0x46e0a7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + eax + 8]
inc ebp
cmp ebp, ebx
jl 0x46e119
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov edi, dword [edx + 0x37c0]
inc ecx
cmp ecx, edi
jl 0x46e0fb
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 0x46e0a7
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x46e0a7
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 0x46e360
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x46e0a7
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 0x46e222
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
cmp edi, 2
je 0x46ecd0
cmp edi, 2
jne 0x46e1e3
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 2
jne 0x46e1e3
cmp ebp, 1
jne 0x46e1ec
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 0x46e464
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 0x46e44d
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 0x46e464
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 0x46ea82
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x46ea82
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
mov dword [esp + 0x60], esi
jne 0x46e5a7
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x46e597
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 0x46e57f
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 0x46e5b5
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 0x46eb04
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 0x46e538
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 0x46e5b5
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x46eba0
jmp 0x46e5b5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x46e5b5
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 0x46e694
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x50]
and eax, 0xf
je 0x46e694
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 0x46e694
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 0x46ec3e
mov edi, dword [edi + 4]
shl edi, 7
imul esi, edi
add eax, esi
add ecx, 0x10
inc edx
cmp edx, ebp
jl 0x46e651
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 0x46e6ee
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 0x46e6d0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46e757
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 0x46e757
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 0x46e730
dec eax
cmp eax, 0xffffffff
jne 0x46e726
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46e7d7
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 0x46e7d7
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 0x46e7b0
dec eax
cmp eax, 0xffffffff
jne 0x46e7aa
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test edx, edx
jne 0x46e922
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 0x46e85a
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 0x46e830
add ecx, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x46e823
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46e8b4
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 0x46e8b4
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 0x46e890
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46e922
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 0x46e922
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 0x46e900
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x48]
cmp edx, eax
jne 0x46ea82
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 0x46e9aa
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 0x46e980
add esi, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x46e972
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46ea13
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 0x46ea13
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 0x46e9f0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x46ea82
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 0x46ea82
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 0x46ea60
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jle 0x46e2f8
mov eax, dword [esp + 0x5c]
cmp edx, eax
jle 0x46e2f8
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 0x46eafd
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 0x46eae0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
dec edx
jmp 0x46e1e3
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 0x46eb6f
cmp ebx, 6
jl 0x46eb60
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 0x46eb30
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 0x46eb60
add eax, 0x10
inc esi
cmp esi, 8
jl 0x46eb1c
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 0x46e547
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 0x46ec0f
cmp eax, 6
jl 0x46ec00
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 0x46ebd0
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 0x46ec00
add ecx, 0x10
inc esi
cmp esi, 8
jl 0x46ebbf
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 0x46e5b5
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 0x46eca1
cmp edx, 0x30
jl 0x46ec90
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 0x46ec62
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 0x46ec90
add ebx, 2
inc ebp
cmp ebp, 8
jl 0x46ec56
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 0x46e660
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 1
jne 0x46e3ba
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 0x46eee7
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
jne 0x46ee23
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x46ee13
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 0x46edfb
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 0x46ee31
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 0x46ef5d
shl eax, 7
add ecx, eax
add ebx, 0x10
inc ebp
cmp ebp, edx
jl 0x46edbe
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 0x46ee31
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x46eff0
jmp 0x46ee31
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x46ee31
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 0x46ee7e
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 0x46ee60
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x46eee7
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 0x46eee7
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 0x46eec0
dec eax
cmp eax, 0xffffffff
jne 0x46eeb7
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x46e2f8
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 0x46ef4d
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 0x46ef30
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
jmp 0x46e3ba
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 0x46efbf
cmp ebx, 6
jl 0x46efb0
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 0x46ef81
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 0x46efb0
add eax, 0x10
inc edx
cmp edx, 8
jl 0x46ef75
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 0x46edcb
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 0x46f05f
cmp eax, 6
jl 0x46f050
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 0x46f020
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 0x46f050
add ebx, 0x10
inc esi
cmp esi, 8
jl 0x46f00f
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 0x46ee31
mov ebx, 2
jmp 0x46dc72
mov ebx, 4
jmp 0x46dc72
mov ebx, 8
jmp 0x46dc72