Function at 0x4610b9
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x768
push ebx
mov ebx, ecx
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x40], ebx
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0xc9b0]
push edi
mov dword [esp + 0x94], ebp
mov eax, dword [eax*4 + 0x4bf810]
mov dword [esp + 0xbc], eax
xor eax, eax
inc eax
mov byte [ebx + 0x318], al
call fcn.00460e06
mov ecx, ebx
call fcn.00463746
lea edx, [esp + 0x218]
mov ecx, ebx
call fcn.004607e5
xor edx, edx
test ebp, ebp
je 0x461124
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0xc000c000
mov dword [ebx + 0xc9ac], edx
xorps xmm0, xmm0
mov dword [ebx + 0xc9a8], edx
mov si, dx
mov eax, dword [ebx + 0x30]
imul ecx, eax, 0xc
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0x48], xmm0
movzx eax, byte [eax + 0x4bf820]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xf8]
add ecx, 0x4bf7e0
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebx + 0xc97c]
mov dword [ebx + 0x100], edx
mov edi, dword [ebx + 0xc974]
mov dword [esp + 0xc0], ecx
lea eax, [ecx + eax*4]
mov word [esp + 0x14], dx
mov dword [esp + 0xb4], eax
lea eax, [ebx + 0x104]
mov dword [esp + 0x98], eax
mov dword [eax], edx
mov eax, dword [ebx + 0xe0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0xec]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0xdc]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xd4]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xca28]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov ax, dx
mov word [esp + 0x10], dx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [ebx + 0x108], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
push edx
lea edx, [esp + 0x21c]
mov ecx, ebx
call fcn.00460713
mov ebp, dword [esp + 0x748]
pop ecx
mov ecx, dword [esp + 0x750]
mov dword [esp + 0x70], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x5c], ebp
cmp ebp, ecx
jae 0x461c74
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0xb4]
and dword [esp + 0x80], 0
shl ecx, 2
sub eax, ecx
mov dword [esp + 0x88], eax
movzx edx, byte [edx + ebp]
xor eax, eax
mov ecx, dword [esp + 0x80]
inc eax
shr edx, 2
shl eax, cl
and edx, eax
test dl, 0xf
je 0x461bfd
shl ebp, 2
or ebp, ecx
cmp dword [esp + 0x77c], 0
mov dword [esp + 0x3c], ebp
jne 0x4612df
cmp dword [ebx + 0xc998], 2
jge 0x4612df
mov edx, ebp
mov ecx, ebx
call fcn.00468488
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x77c], edx
jne 0x461301
imul ecx, ebp, 0x60
mov eax, dword [ecx + edi + 0x23]
mov dword [ecx + edi + 0x2f], eax
mov byte [ecx + edi + 0x22], dl
lea eax, [esp + 0x1e8]
mov edx, ebp
push eax
mov ecx, ebx
call fcn.0045ea43
cmp dword [esp + 0x98], 0
pop ecx
je 0x46138a
push 0x4c4e10
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x624]
push eax
push ecx
lea edx, [esp + 0x138]
mov ecx, ebx
call fcn.0045e9e7
mov eax, dword [esp + 0x78]
add esp, 0x14
add eax, dword [esp + 0x12c]
mov dword [esp + 0x64], eax
adc dword [esp + 0x60], 0
xor edi, edi
push 4
pop ebp
movzx eax, byte [esp + edi + 0x134]
lea edx, [esp + 0xac]
push eax
mov ecx, edx
call fcn.0046093c
inc edi
pop ecx
cmp edi, ebp
jl 0x461365
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xc8]
mov ecx, ebx
push eax
push ebp
lea edx, [esp + 0x220]
call fcn.0045eb21
lea eax, [esp + 0xd0]
mov ecx, ebx
push eax
lea eax, [esp + 0x648]
push eax
lea eax, [esp + 0x628]
push eax
push 0x4d3464
push 0
push ebp
lea edx, [esp + 0x128]
call fcn.0045e73d
add esp, 0x20
lea eax, [esp + 0xc8]
cmp dword [ebx + 0xc998], 2
push eax
jge 0x461730
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0x644]
push eax
lea eax, [esp + 0x624]
push eax
push ecx
lea edx, [esp + 0x138]
mov ecx, ebx
call fcn.0045e9e7
add esp, 0x14
imul edi, ebp, 0x60
lea eax, [esp + 0xc8]
mov ecx, ebx
lea edx, [esp + 0x140]
push eax
lea eax, [esp + 0x640]
push eax
lea eax, [esp + 0x620]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x31
add eax, edi
push eax
push 2
push ebp
call fcn.0045e67d
lea eax, [esp + 0xe0]
mov ecx, ebx
push eax
lea eax, [esp + 0x658]
push eax
lea eax, [esp + 0x638]
push eax
lea eax, [esp + 0x34]
push eax
push 3
push ebp
lea edx, [esp + 0x18c]
call fcn.0045e73d
lea eax, [esp + 0xf8]
mov ecx, ebx
push eax
lea eax, [esp + 0x670]
push eax
lea eax, [esp + 0x650]
push eax
lea eax, [esp + 0x50]
push eax
push 4
pop eax
push eax
push ebp
lea edx, [esp + 0x1c0]
call fcn.0045e73d
add esp, 0x48
lea eax, [esp + 0xc8]
lea edx, [esp + 0x1cc]
mov ecx, ebx
push eax
lea eax, [esp + 0x640]
push eax
lea eax, [esp + 0x620]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x33
add eax, edi
push eax
push ebp
call fcn.0045e317
add esp, 0x14
lea eax, [esp + 0xc8]
lea edx, [esp + 0x194]
push eax
lea eax, [esp + 0x640]
push eax
lea eax, [esp + 0x620]
push eax
push 0x4d3464
push 5
push ebp
mov ecx, ebx
call fcn.0045e73d
lea eax, [esp + 0xe0]
mov ecx, ebx
push eax
lea eax, [esp + 0x658]
push eax
lea eax, [esp + 0x638]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x1d4]
add eax, 0x2f
add eax, edi
push eax
push 6
push ebp
call fcn.0045e67d
mov edx, dword [esp + 0x170]
add esp, 0x30
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x38], eax
imul eax, dword [ebx + 0xcfac], 3
mov dword [esp + 0x24], eax
cmp dword [esp + 0x1cc], edx
jae 0x4615be
cmp dword [esp + 0x1cc], ecx
jae 0x4615be
mov eax, dword [esp + 0x18]
cmp byte [edi + eax + 0x22], 0
jl 0x46158c
mov edx, ebp
mov ecx, ebx
call fcn.00468374
mov eax, dword [esp + 0x18]
or byte [edi + eax + 0x22], 0x80
lea ecx, [esp + 0xc8]
add eax, 0x3b
push ecx
lea ecx, [esp + 0x640]
add eax, edi
push ecx
lea ecx, [esp + 0x620]
push ecx
push eax
push ebp
lea edx, [esp + 0x1e0]
mov ecx, ebx
call fcn.0045e317
add esp, 0x14
jmp 0x46161a
add eax, ecx
cmp eax, edx
jae 0x46161a
mov eax, dword [esp + 0x18]
test byte [edi + eax + 0x22], 0x40
jne 0x4615e4
push 0
mov edx, ebp
mov ecx, ebx
call fcn.004682eb
mov eax, dword [esp + 0x1c]
pop ecx
or byte [edi + eax + 0x22], 0x40
lea ecx, [esp + 0xc8]
add eax, 0x23
push ecx
lea ecx, [esp + 0x640]
add eax, edi
push ecx
lea ecx, [esp + 0x620]
push ecx
push eax
push 6
push ebp
lea edx, [esp + 0x1c8]
mov ecx, ebx
call fcn.0045e67d
add esp, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
test byte [edi + eax + 0x22], 4
jne 0x46163c
xor eax, eax
mov edx, ebp
inc eax
mov ecx, ebx
push eax
call fcn.004682eb
mov eax, dword [esp + 0x1c]
pop ecx
or byte [edi + eax + 0x22], 4
lea ecx, [esp + 0xc8]
add edi, 0x25
push ecx
lea ecx, [esp + 0x640]
add eax, edi
push ecx
lea ecx, [esp + 0x620]
push ecx
push eax
push 2
push ebp
lea edx, [esp + 0x158]
mov ecx, ebx
call fcn.0045e67d
mov ecx, dword [esp + 0x13c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x68], eax
cmp ecx, dword [esp + 0x108]
push 1
pop eax
cmovb edx, eax
mov eax, dword [esp + 0x15c]
imul ecx, edx, 0x1c
push 3
pop edi
push 4
cmp eax, dword [esp + ecx + 0x10c]
mov eax, dword [esp + 0x17c]
cmovb edx, edi
imul ecx, edx, 0x1c
cmp eax, dword [esp + ecx + 0x10c]
pop eax
cmovb edx, eax
mov eax, dword [esp + 0x194]
imul ecx, edx, 0x1c
push 5
cmp eax, dword [esp + ecx + 0x10c]
pop eax
cmovb edx, eax
mov eax, dword [esp + 0x1b0]
imul ecx, edx, 0x1c
push 6
cmp eax, dword [esp + ecx + 0x10c]
pop eax
cmovb edx, eax
mov eax, dword [esp + 0x1cc]
imul ecx, edx, 0x1c
push 7
cmp eax, dword [esp + ecx + 0x10c]
pop eax
cmovb edx, eax
mov dword [esp + 0x54], edx
cmp edx, edi
je 0x46170a
push 4
pop eax
cmp edx, eax
jne 0x46170e
xor ecx, ecx
jmp 0x461712
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
imul eax, edx, 0x1c
mov eax, dword [esp + eax + 0x108]
add eax, ecx
cmp dword [esp + 0x140], eax
jae 0x461797
push 2
pop edx
jmp 0x461793
lea eax, [esp + 0x640]
mov ecx, ebx
push eax
lea eax, [esp + 0x620]
push eax
push 0x4d3464
push 5
pop eax
push eax
push ebp
lea edx, [esp + 0x1ac]
call fcn.0045e73d
mov eax, dword [esp + 0x13c]
add esp, 0x18
xor edx, edx
cmp eax, dword [esp + 0x108]
push 1
pop eax
cmovb edx, eax
mov eax, dword [esp + 0x194]
imul ecx, edx, 0x1c
push 5
cmp eax, dword [esp + ecx + 0x10c]
pop eax
cmovb edx, eax
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x9c]
push 7
mov byte [eax + ebp], dl
pop eax
cmp edx, eax
je 0x461839
lea eax, [edx - 1]
sub eax, 1
je 0x4617f3
sub eax, 1
je 0x4617e3
sub eax, 1
je 0x4617d3
dec eax
sub eax, 1
jne 0x461808
imul eax, ebp, 0x60
movsx ecx, byte [eax + edi + 0x23]
movsx eax, byte [eax + edi + 0x24]
jmp 0x461800
movsx eax, byte [esp + 0x14]
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + 0x15]
jmp 0x461804
movsx eax, byte [esp + 0x10]
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + 0x11]
jmp 0x461804
imul eax, ebp, 0x60
movsx ecx, byte [eax + edi + 0x25]
movsx eax, byte [eax + edi + 0x26]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
imul ecx, ebp, 0x30
mov ebp, dword [esp + 0x30]
push 4
pop edi
mov ebx, edi
add ecx, dword [esp + 0x40]
mov eax, dword [ecx]
add ecx, edi
mov edx, dword [esp + 0x1c]
mov byte [ebp + eax*2], dl
mov edx, dword [esp + 0x20]
mov byte [ebp + eax*2 + 1], dl
sub ebx, 1
jne 0x461818
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
and dword [esp + 0x24], 0
lea ebx, [esp + 0x118]
mov ecx, ebp
imul eax, edx, 0x1c
mov edx, dword [esp + 0x24]
and ebp, 3
shr ecx, 2
mov dword [esp + 0x48], eax
lea edi, [ecx*4]
add edi, ebp
mov ebp, dword [esp + 0x2c]
shl edi, 4
add edi, dword [esp + 0xb8]
add ebx, eax
mov ecx, dword [edi]
movzx eax, byte [ebx + edx]
shl eax, 2
push 4
xor eax, dword [ebp + ecx*4]
and eax, 0xfc
xor dword [ebp + ecx*4], eax
inc edx
pop eax
add edi, eax
cmp edx, eax
jl 0x461871
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x218]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov eax, dword [esp + eax + 0x114]
shr eax, 6
push eax
push ebp
call fcn.0045fd87
mov edi, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
jle 0x461b36
mov eax, dword [esp + 0x9c]
push 2
pop ecx
movsx eax, byte [eax + ebp]
mov dword [esp + 0x24], eax
sub eax, ecx
je 0x461a61
sub eax, ecx
je 0x461a46
sub eax, ecx
je 0x461a37
sub eax, 1
jne 0x461aef
mov si, word [esp + 0x28]
lea eax, [esp + 0xf8]
imul edx, ebp, 0x30
mov dword [esp + 0x48], eax
mov ebp, eax
push 4
pop eax
add edx, dword [esp + 0x40]
mov word [esp + 0x14], si
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x2c]
mov edi, dword [edx]
test byte [ebx + edi*4], 1
mov ebx, dword [esp + 0x44]
je 0x461975
mov ecx, dword [esp + 0x30]
push 2
movzx eax, word [ecx + edi*2]
mov dword [esp + 0x2c], eax
mov word [esp + 0x14], ax
mov word [ebp], ax
movsx eax, byte [ecx + edi*2 + 1]
movzx ecx, byte [eax + 0x4befff]
mov eax, dword [esp + 0x34]
movsx eax, byte [eax + edi*2]
movzx eax, byte [eax + 0x4befff]
add ecx, eax
mov eax, dword [esp + 0x3c]
add dword [ebx + 0xc9a8], ecx
add dword [ebx + 0xc9ac], 0xc
pop ecx
jmp 0x46197b
xor edi, edi
mov word [ebp], di
push 4
pop edi
add edx, edi
add ebp, ecx
sub eax, 1
mov dword [esp + 0x38], eax
jne 0x46191d
mov ebp, dword [esp + 0xbc]
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x104]
mov ecx, ebp
push eax
call dword [0x4b25a8]
call ebp
mov ebp, dword [esp + 0x44]
pop ecx
pop ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x58], edi
jbe 0x461aef
imul eax, ebp, 3
mov ebx, edi
mov dword [esp + 0x68], eax
mov ebp, eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
movzx eax, byte [ebx + eax]
mov edi, eax
shr eax, 2
add eax, ebp
and edi, 3
lea eax, [edi + eax*4]
mov edx, dword [ecx + eax*4]
movzx ecx, byte [esp + ebx + 0x1dc]
mov eax, dword [esp + 0x2c]
and ecx, 0x3f
or ecx, 0x1c0
shl ecx, 2
mov eax, dword [eax + edx*4]
and eax, 0xffffff03
or ecx, eax
mov eax, dword [esp + 0x2c]
inc ebx
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x30]
mov ax, word [esp + edi*2 + 0x100]
mov word [ecx + edx*2], ax
cmp ebx, dword [esp + 0x58]
jl 0x4619cb
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
jmp 0x461aef
mov eax, dword [esp + 0x38]
add dword [ebx + 0xc9a8], eax
jmp 0x461ae8
mov ax, si
mov si, word [esp + 0x28]
mov word [esp + 0x14], si
mov dword [esp + 0x28], eax
mov word [esp + 0x10], ax
jmp 0x461aef
mov si, word [esp + 0x28]
push 7
pop eax
mov word [esp + 0x14], si
cmp dword [esp + 0x54], eax
jne 0x461acd
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
imul eax, ebp, 0x30
add ecx, eax
mov eax, dword [ecx]
test byte [edx + eax*4], 1
jne 0x461a9a
push 4
pop ebx
add ecx, ebx
mov eax, dword [ecx]
test byte [edx + eax*4], 1
je 0x461a8c
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dx, word [ecx + eax*2]
movsx eax, byte [ecx + eax*2 + 1]
mov dword [esp + 0x28], edx
mov word [esp + 0x10], dx
movsx edx, dl
movzx ecx, byte [eax + 0x4befff]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edx + 0x4befff]
add ecx, eax
jmp 0x461ae2
mov ecx, dword [esp + 0x68]
imul eax, ebp, 0x60
mov ax, word [eax + edi + 0x25]
mov dword [esp + 0x28], eax
mov word [esp + 0x10], ax
add dword [ebx + 0xc9a8], ecx
add dword [ebx + 0xc9ac], 0xc
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4], ebp
inc eax
lea ecx, [ebx + 0xc9b0]
mov dword [esp + 0x78], eax
call fcn.00460cb1
imul eax, dword [esp + 0x24], 0x1c
push 4
mov ecx, dword [esp + eax + 0x114]
add ecx, dword [esp + eax + 0x118]
add dword [esp + 0x38], ecx
mov eax, dword [esp + 0x28]
adc dword [esp + 0x78], 0
pop ecx
jmp 0x461b59
mov eax, dword [esp + 0x88]
inc dword [esp + 0x7c]
push 4
pop ecx
sub eax, ecx
mov dword [esp + 0x88], eax
mov dword [eax], ebp
xor eax, eax
and dword [esp + 0x20], eax
and dword [esp + 0x1c], eax
push 7
pop edx
cmp eax, edx
je 0x461bf5
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x58], ecx
jbe 0x461bf5
mov edi, eax
imul ebp, ebp, 3
imul eax, eax, 0x1c
lea ebx, [esp + 0x118]
and edi, edx
shl edi, 8
add eax, ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
movzx ecx, byte [ebx + eax]
mov eax, ecx
and ecx, 3
shr eax, 2
add eax, ebp
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + ebx]
mov eax, dword [esp + 0x2c]
and ecx, 0x3f
shl ecx, 2
mov eax, dword [eax + edx*4]
and eax, 0xfffff8ff
or eax, edi
and eax, 0xffffff03
or ecx, eax
mov eax, dword [esp + 0x2c]
inc ebx
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx*2], al
mov eax, dword [esp + 0x20]
mov byte [ecx + edx*2 + 1], al
cmp ebx, dword [esp + 0x58]
jl 0x461b8e
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
inc eax
push 4
pop ecx
mov dword [esp + 0x80], eax
cmp eax, ecx
jl 0x46129c
lea ecx, [esp + 0x618]
call fcn.00460b53
mov eax, dword [esp + 0x620]
mov edx, dword [esp + 0x84]
shl eax, 4
sar eax, 0x1e
xor al, byte [edx + ebp]
and al, 1
xor byte [edx + ebp], al
mov ecx, dword [esp + 0x620]
shl ecx, 6
sar ecx, 0x1e
add cl, cl
xor cl, byte [edx + ebp]
and cl, 2
xor byte [edx + ebp], cl
inc ebp
mov dword [esp + 0x5c], ebp
cmp ebp, dword [esp + 0xa0]
jb 0x46127d
mov eax, dword [esp + 0x70]
push eax
push dword [esp + 0x70]
lea edx, [esp + 0x220]
mov ecx, ebx
push 0
call fcn.004605c9
add esp, 0xc
xor eax, eax
push 3
lea edi, [eax + 1]
pop ebp
push dword [esp + edi*4 + 0x750]
lea edx, [esp + 0x21c]
mov ecx, ebx
push dword [esp + edi*4 + 0x748]
push edi
call fcn.0045fbc9
add esp, 0xc
lea edx, [esp + 0x218]
mov ecx, ebx
push dword [esp + 0x70]
push dword [esp + 0x70]
push edi
call fcn.004605c9
add esp, 0xc
inc edi
cmp edi, ebp
jl 0x461c94
mov edx, dword [esp + 0x90]
xor eax, eax
add edx, dword [esp + 0xc4]
inc eax
cmp dword [esp + 0x70], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x90], edx
jne 0x461241
mov edi, dword [ebx + 0x118]
xor esi, esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.00458ea0
inc esi
pop ecx
cmp esi, ebp
jl 0x461d06
cmp dword [esp + 0x94], 0
je 0x461d96
mov edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x60]
jg 0x461d91
mov esi, dword [esp + 0x34]
jl 0x461d36
cmp esi, dword [esp + 0x64]
ja 0x461d91
lea ecx, [esp + 0x618]
mov eax, dword [ecx]
lea ecx, [ecx + 0xc]
shl eax, 6
cdq
add esi, eax
adc edi, edx
sub ebp, 1
jne 0x461d3d
movzx eax, byte [ebx + 0xca00]
mov ecx, dword [ebx + 0xc9ac]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0xc9a8]
mov eax, dword [ebx + eax*4 + 0xca08]
shl eax, 6
cmp ecx, esi
cdq
cmovb esi, ecx
shl esi, 6
add eax, esi
adc edx, ebp
add eax, dword [esp + 0x34]
adc edx, edi
cmp edx, dword [esp + 0x60]
jl 0x461d96
jg 0x461d91
cmp eax, dword [esp + 0x64]
jbe 0x461d96
xor eax, eax
inc eax
jmp 0x461df8
mov eax, dword [esp + 0x78]
lea edi, [ebx + 0x94]
mov esi, dword [ebx + 0x100]
push 2
mov dword [ebx + 0xc980], eax
lea eax, [ebx + 0x104]
pop ebp
mov eax, dword [eax]
mov ecx, dword [ebx + 0xfc]
shl eax, 2
push eax
mov eax, dword [edi]
lea eax, [ecx + eax*4]
push eax
lea eax, [ecx + esi*4]
push eax
call fcn.00415190
mov eax, dword [esp + 0xa4]
lea edi, [edi + 0x20]
add esp, 0xc
add esi, dword [eax]
push 4
pop ecx
add eax, ecx
mov dword [esp + 0x98], eax
sub ebp, 1
jne 0x461db5
mov dword [ebx + 0x10c], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x768
ret