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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x18]
mov ebp, 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
push edi
test eax, 0x400
je 0x46d926
mov edx, eax
mov ebp, 2
shr edx, 0xb
mov ecx, 0x471120
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x46d95c
test eax, 0x1000
je 0x46d947
mov edx, eax
mov ebp, 2
shr edx, 0xd
mov ecx, 0x4711a0
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x46d95c
test eax, 0x100
je 0x46d998
mov edx, eax
mov ecx, fcn.00471220
shr edx, 9
not edx
and edx, ebp
mov dword [esp + 0x1c], ecx
mov esi, ebp
mov dword [esp + 0x64], edx
mov ebx, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x800
jne 0x46d9c4
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x2000
je 0x46da22
jmp 0x46d9fb
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test eax, 0x800
je 0x46d9df
mov ebp, 2
mov dword [esp + 0x1c], 0x471120
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x4713d0
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x46da38
test eax, 0x2000
je 0x46da16
mov ebp, 2
mov dword [esp + 0x1c], 0x4711a0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x4713f0
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x46da38
mov dword [esp + 0x1c], fcn.00471220
mov dword [esp + 0x68], ebp
mov dword [esp + 0x48], fcn.00470060
mov eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x6c], 6
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc4]
imul eax, ecx
mov dword [esp + 0x10], ecx
add eax, dword [edi + 4]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
push dword [esp + 0x10]
mov ebx, dword [edi + 8]
lea eax, [esp + 0x1c]
mov esi, dword [edi + 4]
sub ebx, ebp
push dword [esp + 0xcc]
add esi, dword [edi]
add ebx, dword [edi]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebx
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], ecx
test ecx, ecx
je case.default.0x46e86a
jns 0x46db3d
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46db0c
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46dac5
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x2c]
add edx, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x46e7fd
cmp ecx, dword [esp + 0x6c]
je 0x46db57
cmp dword [esp + 0x60], 0
jne 0x46db57
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x20], edx
jmp 0x46db64
mov edx, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add edx, ecx
sub eax, ecx
mov dword [esp + 0xc8], edx
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push edx
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jle 0x46e682
cmp edx, dword [esp + 0x6c]
je 0x46dbad
cmp dword [esp + 0x64], 0
jne 0x46dbad
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
jmp 0x46dbbc
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], 0
sub dword [esp + 0x10], edx
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov eax, edx
shr eax, 8
mov dword [esp + 0x5c], eax
cmp eax, 0x1d2
ja 0x46dfa2
cmp byte [eax + 0x607f28], 0
je 0x46dfa2
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x1100]
cmp ecx, 0x12
ja 0x46dd21
add edx, 0xffffee9f
cmp edx, 0x14
ja 0x46dc32
imul ecx, ecx, 0x15
mov dword [esp + 0x20], 0
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax*4 + 0xac00]
mov dword [esp + 0x18], eax
jmp 0x46e089
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46dcb2
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46dc81
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46dffb
jmp dword [eax*4 + 0x46e928]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp 0x46e06d
push eax
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e06b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46dcd5
jmp 0x46e06b
lea ecx, [eax - 0xac00]
mov dword [esp + 0x14], ecx
cmp ecx, 0x2ba3
ja 0x46de66
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, 2
sub ecx, eax
jne 0x46de62
mov ecx, dword [esp + 0x40]
add ecx, 0xffffee59
lea eax, [ecx - 1]
cmp eax, 0x1a
ja 0x46dd85
add dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
jmp 0x46e089
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46ddf0
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46ddd4
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46dffb
jmp dword [eax*4 + 0x46e938]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e06b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46de16
jmp 0x46e06b
mov eax, dword [esp + 0x18]
push dword [esp + 0x40]
push eax
call fcn.00470670
add esp, 8
test eax, eax
je 0x46de88
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
jmp 0x46e089
mov edx, dword [esp + 0x40]
cmp edx, 0x1d244
ja 0x46deca
mov eax, dword [esp + 0x5c]
movzx ecx, byte [eax + 0x608aa0]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx*8 + 0x608830]
add eax, eax
movzx ecx, byte [edx + eax*8 + 0x608100]
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x46e0b3
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46df30
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46df19
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46dffb
jmp dword [eax*4 + 0x46e948]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e06b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46df56
jmp 0x46e06b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46e002
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46dff1
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46dffb
jmp dword [eax*4 + 0x46e958]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e06b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46e024
add esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push dword [esp + 0xcc]
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jg 0x46db93
jmp 0x46e682
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
shl eax, 2
lea ecx, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x54], eax
add eax, ecx
push eax
call dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jle 0x46e1b3
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + eax + 0x70]
cmp edx, 0x1d244
jbe 0x46e113
xor ecx, ecx
jmp 0x46e142
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x608aa0]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x608830]
add eax, eax
and edx, 0xf
movzx ecx, byte [edx + eax*8 + 0x608100]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
cmp edx, ecx
jb 0x46e15e
cmp edx, 0xe4
je 0x46e15e
cmp ecx, 0xe4
jne 0x46e18c
mov edx, dword [esp + 0x38]
add dword [esp + 0xc8], edx
sub dword [esp + 0x10], edx
mov dword [esp + eax + 0x98], ecx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
cmp eax, 0xa
jl 0x46e0d3
jmp 0x46e199
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
cmp eax, 0xa
jl 0x46e1bb
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x4c], 1
jmp 0x46e1f6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], ecx
cmp eax, 1
jle 0x46e3c3
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
nop word [eax + eax]
lea eax, [ebx*4]
push dword [esp + eax + 0x70]
mov dword [esp + 0x60], eax
push dword [esp + 0x1c]
call fcn.00470670
mov ecx, eax
add esp, 8
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x46e240
mov ebx, eax
jmp 0x46e3a8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
cmp edi, ecx
jge 0x46e27e
mov edx, dword [esp + 0x5c]
nop dword [eax]
mov eax, dword [esp + edx + 0x74]
lea edx, [edx + 4]
mov dword [esp + edx + 0x6c], eax
inc edi
mov eax, dword [esp + edx + 0x98]
mov dword [esp + edx + 0x94], eax
cmp edi, ecx
jl 0x46e260
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x46e3a2
cmp ebx, ecx
jne 0x46e3a2
test esi, esi
jle 0x46e3a2
cmp ebp, dword [esp + 0x44]
jne 0x46e3a2
mov ebx, dword [esp + ecx*4 + 0x94]
mov dword [esp + 0x44], ebx
cmp ecx, 0xa
jge 0x46e37a
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
lea ebp, [ecx*4]
push esi
lea edi, [esp + 0x74]
push edx
add edi, ebp
push edi
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x46e38d
mov edx, dword [edi]
cmp edx, 0x1d244
jbe 0x46e2f7
xor eax, eax
jmp 0x46e326
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x608aa0]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x608830]
mov ecx, dword [esp + 0x38]
add eax, eax
and edx, 0xf
movzx eax, byte [edx + eax*8 + 0x608100]
mov dword [esp + 0x3c], eax
cmp ebx, eax
jl 0x46e33d
cmp ebx, 0xe4
je 0x46e33d
cmp eax, 0xe4
jne 0x46e38d
mov edx, dword [esp + 0xc8]
sub esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x24]
mov ebx, eax
inc ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x44], ebx
mov dword [esp + ebp + 0x98], eax
mov dword [esp + 0x24], ecx
cmp ecx, 0xa
jl 0x46e2c4
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edi, 0xa
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], edi
jmp 0x46e3a6
mov ecx, dword [esp + 0x24]
cmp ecx, 0xa
jge 0x46e372
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp ebx, edi
jl 0x46e210
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
test edx, edx
je 0x46e450
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46e41c
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46e426
jmp dword [eax*4 + 0x46e968]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x46e4b0
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e4aa
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x46e465
add esi, eax
mov dword [esp + 0x28], esi
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x46e54a
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
nop dword [eax + eax]
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e52a
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x4c]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x46e4e3
mov ecx, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x4c]
inc ecx
add eax, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x24]
jl 0x46e4d0
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x10]
jle 0x46e686
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], eax
jne 0x46e686
test edx, edx
je 0x46e686
push edx
push dword [esp + 0xcc]
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x46e682
mov edx, dword [esp + 0x70]
cmp edx, 0x1d244
jbe 0x46e5a1
xor eax, eax
jmp 0x46e5d2
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x608aa0]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx ecx, byte [eax + ecx*8 + 0x608830]
mov eax, edx
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x608100]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x44], eax
jg 0x46e682
add dword [esp + 0xc8], ecx
sub dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
mov eax, ebx
push edx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e657
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x70]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46e610
push dword [esp + 0x10]
add esi, eax
lea eax, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x30], esi
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x20], eax
add esp, 0xc
test ecx, ecx
jg 0x46e591
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x46e7f4
mov ecx, dword [esp + 0x30]
imul ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x46e710
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46e6e1
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46e6ef
jmp dword [eax*4 + 0x46e978]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
jmp case.default.0x46e6ef
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e76a
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x46e725
add esi, eax
push dword [esp + 0x40]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x46e7c6
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x40]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x46e781
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x50]
add edx, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x46e7fd
je 0x46e81e
mov ecx, dword [esp + 0xc8]
push edx
push ecx
lea eax, [esp + 0x20]
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 0xc
test ecx, ecx
jne 0x46da9d
jmp case.default.0x46e86a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46e890
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x46e85c
mov eax, dword [esp + 0x30]
sub esi, dword [edi]
imul eax, edx
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov esi, dword [edi]
add esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x46e86a
jmp dword [eax*4 + 0x46e988]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp case.default.0x46e86a
push dword [esp + 0x18]
sub ebx, esi
push ebx
mov ebx, dword [esp + 0x24]
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x46e8ed
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.0046d820
add esp, 8
test eax, eax
je 0x46e919
mov eax, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, eax
sub eax, ebp
add eax, dword [edi + 8]
sub eax, esi
push eax
push esi
call ebx
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x46e8b2
add esi, eax
mov eax, esi
sub eax, dword [edi]
cmp dword [esp + 0x68], 2
mov dword [edi + 4], eax
mov byte [esi], 0
jne 0x46e90a
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov byte [edx + ecx + 1], 0
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xb0
ret