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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0xe4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
call fcn.00460810
mov ecx, dword [0x5ecf88]
mov edx, dword [0x5ecf9c]
lea ebx, [ecx*8]
lea esi, [ebx + ecx*4]
lea edi, [esi + edx*2 + 0xc]
cmp eax, edi
jg 0x464923
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffd
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
cmp ecx, 0xa
mov ebx, dword [eax]
jle 0x464931
cmp edx, ecx
jne 0x464942
mov dword [0x5ecf6c], 0
xor ebx, ebx
jmp 0x464a3f
mov dword [0x5ecf6c], ebx
cmp ebx, 1
je 0x466198
cmp ebx, 2
je 0x464aa5
cmp ebx, 3
jne 0x4649c8
mov dword [esp], 0
lea esi, [esp]
mov dword [esp + 0x58], 0x12
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0x5c0fe8
push 0x20
push eax
push 0x5c0f40
push 0x8384ff00
push 0x3c
push esi
call fcn.00549330
mov dword [esp + 0x18], 0
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 0x12
mov dword [esp + 0x7c], 0x5c104c
push 0x20
push eax
push 0x5c0f68
push 0x8384ff00
push 6
push esi
call fcn.00549330
jmp 0x464b09
cmp ebx, 4
jne 0x464a3f
mov dword [esp], 0
lea esi, [esp]
mov dword [esp + 0x68], 0x13
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], 0x5c0fd4
push 0x20
push eax
push 0x5c0f38
push 0x8384ff00
push 0x3c
push esi
call fcn.00549330
mov dword [esp + 0x18], 0
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0x13
mov dword [esp + 0x8c], 0x5c1038
push 0x20
push eax
push 0x5c0f60
push 0x8384ff00
push 6
push esi
call fcn.00549330
jmp 0x464b09
mov dword [esp], 0
lea esi, [esp]
mov dword [esp + 0x28], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x5c0fc0
push 0x20
push eax
push 0x5c0f30
push 0x8384ff00
push 0x3c
push esi
call fcn.00549330
mov dword [esp + 0x18], 0
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x4c], 0x5c1024
push 0x20
push eax
push 0x5c0f58
push 0x8384ff00
push 6
push esi
call fcn.00549330
jmp 0x464b09
mov dword [esp], 0
lea esi, [esp]
mov dword [esp + 0x48], 0x12
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], 0x5c0ffc
push 0x20
push eax
push 0x5c0f48
push 0x8384ff00
push 0x3c
push esi
call fcn.00549330
mov dword [esp + 0x18], 0
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0x12
mov dword [esp + 0x6c], 0x5c1060
push 0x20
push eax
push 0x5c0f70
push 0x8384ff00
push 6
push esi
call fcn.00549330
add esp, 0x30
test ebx, ebx
jl 0x464b15
cmp ebx, 4
jle 0x464b1f
mov dword [0x5ecf6c], 0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0xa
push 0x5c1088
call fcn.0045dc50
mov dword [esp + 0xac], eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0xa
push 0x5c1094
call fcn.0045dc50
mov dword [esp + 0xa8], eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0xa
push 0x5c10a0
call fcn.0045dc50
mov dword [esp + 0xb0], eax
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5ecf88
push 0xa
push 0x5c10ac
call fcn.0045ac90
mov esi, eax
mov eax, dword [0x5ecf88]
lea ecx, [esp + 0xa4]
inc eax
mov edx, 0x5c0f88
mov dword [esp + 0xa4], eax
push 0
push 0x5c0f80
push 0x5c0f84
push edx
push edx
push ecx
push 0xa
push 0x5c10b8
call fcn.0045ac90
mov edi, eax
mov edx, dword [0x5ecf88]
mov ecx, dword [0x5ecf9c]
sub ecx, edx
cmp dword [0x5ecf6c], 1
lea eax, [ecx + ecx]
mov dword [0x5e1788], eax
jne 0x464c2c
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5c11cc]
lea edx, [edx + ecx*2]
cvttss2si eax, xmm0
push 0
push 0x5c0f80
push 0x5c0f84
mov ecx, 0x5c0f88
cmp eax, edx
push ecx
push ecx
push 0x5e178c
push 0xa
push 0x5c10d0
cmovge edx, eax
mov dword [0x5e178c], edx
call fcn.0045ac90
jmp 0x464c50
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5e1788
push 0xa
push 0x5c10c4
call fcn.0045ac90
mov dword [esp + 0xa0], eax
cmp dword [0x5ecf6c], 0
je 0x464f3f
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
lea eax, [edx + ebx*8]
mov dword [esp + 0x98], eax
lea ebx, [edx + ecx*8]
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0xa0]
lea eax, [edx + edi*8]
mov ebx, dword [0x5ecf88]
mov dword [0x5e17a4], ebx
inc ebx
mov dword [esp + 0x7c], eax
lea edx, [edx + ecx*8]
mov dword [esp + 0x24], edx
mov edx, dword [0x5ecf9c]
mov dword [0x5e17a8], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x90], ebx
push edx
mov ecx, dword [0x5e1788]
push eax
mov dword [0x5e17ac], ecx
call fcn.00461390
mov ebx, dword [0x5ecf88]
test ebx, ebx
jle 0x464d99
xor ecx, ecx
mov dword [esp + 0x9c], ebx
xor eax, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x8c], ecx
mov edi, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [ebx + eax*4 + 4]
mov ecx, dword [ecx + eax*4 + 4]
mov esi, ecx
sub esi, edi
lea edx, [esi + edx - 1]
mov dword [ebx + eax*4 + 4], edx
dec esi
lea edx, [edi + 2]
cmp ecx, edx
jl 0x464d68
xor edx, edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
lea edx, [edx + edi*4]
mov edi, dword [esp + 0x80]
mov ecx, dword [edx + edi*4 + 4]
inc edi
inc dword [ebx + ecx*4]
cmp edi, esi
jb 0x464d55
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
inc eax
cmp eax, dword [esp + 0x9c]
jb 0x464d0e
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [0x5e179c], edx
mov dword [0x5e17a0], eax
mov edx, dword [esp + 0x7c]
lea eax, [ebx + 1]
cmp eax, 2
mov dword [edx], 1
mov edx, 1
jl 0x464df8
xor ecx, ecx
mov edx, 1
mov dword [esp + 0x84], edi
mov dword [esp + 0x20], eax
mov eax, ecx
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x7c]
mov esi, edx
mov ecx, edx
add edx, dword [edi + eax*4 + 4]
mov dword [edi + eax*4 + 4], esi
inc eax
cmp eax, ebx
jb 0x464dcf
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [0x5e17b0], ecx
test ebx, ebx
jle 0x466180
xor ecx, ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov eax, ecx
mov edx, dword [esp + 0x98]
mov ebx, ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [edx + eax*4 + 4]
mov esi, ecx
sub esi, ebx
lea edi, [ebx + 2]
dec esi
lea edx, [eax + 1]
cmp ecx, edi
jl 0x464ee2
xor edi, edi
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0xc0], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xb8], esi
lea ebx, [edi + ebx*4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], eax
mov ebx, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
mov esi, dword [edx + edi*4 + 4]
mov eax, dword [eax + ebx*4 + 4]
inc ebx
mov dword [ecx + esi*4 - 4], eax
inc esi
mov dword [edx + edi*4 + 4], esi
mov edi, dword [edx + eax*4]
mov esi, dword [esp + 0xc0]
mov dword [ecx + edi*4 - 4], esi
inc edi
mov dword [edx + eax*4], edi
cmp ebx, dword [esp + 0xb8]
jb 0x464e94
mov ecx, dword [esp + 0x80]
lea edi, [ecx + 1]
mov edx, esi
mov dword [esp + 0x8c], eax
mov eax, edx
cmp edx, dword [esp + 0x9c]
jb 0x464e2b
mov edx, dword [esp + 0x8c]
mov dword [0x5e1840], edx
mov edx, edi
mov dword [0x5e179c], edx
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x9c]
test ebx, ebx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [0x5e17a0], edx
mov dword [0x5e1844], ecx
jle 0x466171
mov dword [0x5e17c8], eax
push 0x5c0f84
call fcn.0045c860
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0xa
push 0x5c10dc
call fcn.0045dc50
mov ebx, eax
mov ecx, dword [0x5ecf88]
cmp ecx, 1
je 0x464f76
mov eax, dword [0x5ecf6c]
test eax, eax
jne 0x4650b9
mov edx, dword [0x5d9cb0]
lea eax, [esi*8]
shl edx, 3
mov edi, dword [0x5d9c90]
sub edi, edx
mov dword [esp + 0xc0], eax
test ecx, ecx
mov dword [0x5e17e0], ecx
lea esi, [edi + esi*8]
mov dword [esp + 0x7c], esi
jle 0x46509c
mov eax, esi
and eax, 0xf
mov dword [esp + 0x20], eax
je 0x464fcc
test byte [esp + 0x20], 3
jne 0x465e3b
neg eax
add eax, 0x10
shr eax, 2
mov dword [esp + 0x20], eax
lea edx, [eax + 4]
cmp ecx, edx
jl 0x465e3b
mov edx, ecx
sub edx, eax
and edx, 3
neg edx
add edx, ecx
test eax, eax
jbe 0x46500e
mov dword [esp + 0x9c], ebx
xor eax, eax
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x7c]
lea ebx, [eax + 1]
mov dword [edi + eax*4], ebx
mov eax, ebx
cmp ebx, esi
jb 0x464ff7
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x9c]
mov eax, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], edx
movd xmm0, eax
lea edx, [edi + 1]
pshufd xmm1, xmm0, 0
lea ecx, [edi + 2]
lea esi, [edi + 3]
lea eax, [edi + 4]
movd xmm0, edx
movd xmm2, ecx
movd xmm4, esi
movd xmm3, eax
mov eax, edi
punpcklqdq xmm0, xmm2
punpcklqdq xmm4, xmm3
shufps xmm0, xmm4, 0x88
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x7c]
movdqa xmmword [esi + eax*4], xmm0
add eax, 4
paddd xmm0, xmm1
cmp eax, edx
jb 0x46505e
cmp edx, ecx
jae 0x465082
mov esi, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esi + edx*4], eax
mov edx, eax
cmp eax, ecx
jb 0x465076
inc ecx
lea eax, [ebx*8]
mov dword [0x5e17e4], ecx
mov dword [esp + 0x8c], eax
jmp 0x4655ad
mov dword [0x5e17e4], 1
lea eax, [ebx*8]
mov dword [esp + 0x8c], eax
jmp 0x4655ad
cmp eax, 1
jne 0x4653b0
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5ecf88
push 0xa
push str.MAP.OP
call fcn.0045ac90
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5ecf88
push 0xa
push str.PERM.OP
call fcn.0045ac90
mov dword [esp + 0x8c], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.DEG.OP
call fcn.0045ac90
mov dword [esp + 0x94], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.MARKER.OP
call fcn.0045ac90
mov dword [esp + 0x24], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.RCHSET.OP
call fcn.0045ac90
mov dword [esp + 0x80], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.NBRHD.OP
call fcn.0045ac90
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.QSIZE.OP
call fcn.0045ac90
mov dword [esp + 0x98], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.QLINK.OP
call fcn.0045ac90
mov dword [esp + 0x7c], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.UPD.OP
call fcn.0045ac90
test eax, eax
jge 0x465231
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffd
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
lea ecx, [edx + edi*8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x5ecf88]
test ecx, ecx
mov dword [0x5e17d4], ecx
jle 0x465e42
mov dword [esp + 0x84], edi
xor edx, edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x9c], ebx
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
mov ebx, dword [edi + edx*4 + 4]
sub ebx, dword [edi + edx*4]
mov dword [esi + edx*4], ebx
jne 0x46529a
mov dword [edi + edx*4], 0
inc edx
cmp edx, ecx
jb 0x465287
inc ecx
mov dword [0x5e17dc], ecx
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x88]
lea edi, [edx + edi*8]
mov dword [esp + 0x20], edi
lea edi, [edx + ecx*8]
mov dword [esp + 0x78], edi
mov edi, dword [0x5e1788]
lea ecx, [esi*8]
inc edi
lea esi, [edx + esi*8]
mov dword [esp + 0x24], edi
lea eax, [edx + eax*8]
mov dword [esp + 0xc0], ecx
add esp, 0xffffffc4
mov edi, dword [esp + 0xdc]
lea ecx, [edx + edi*8]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0xc], edi
lea edi, [esp + 0x60]
mov dword [esp + 0x10], 0x5e178c
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xd4]
lea edi, [edx + edi*8]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd0]
lea edi, [edx + edi*8]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xc8]
lea edi, [edx + edi*8]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xbc]
lea edi, [edx + edi*8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xb8]
lea edi, [edx + esi*8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x5e1790
mov dword [esp + 0x34], eax
mov eax, 0x5ecf88
mov dword [esp + 0x38], 0x5c0f94
mov edx, dword [esp + 0x5c]
call fcn.004663ac
push 0xa
push str..OP
call fcn.0045bc90
lea eax, [ebx*8]
mov dword [esp + 0x8c], eax
jmp 0x4655ad
jl 0x465591
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5ecf88
push 0xa
push 0x5c10e8
call fcn.0045ac90
mov dword [esp + 0x78], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5c0f8c
push 0xa
push 0x5c10f4
call fcn.0045ac90
mov dword [esp + 0x24], eax
push 0
mov eax, 0x5c0f84
mov edx, 0x5c0f88
push eax
push eax
push edx
push edx
push 0x5ecf88
push 0xa
push str.VWGTE.OP
call fcn.0045ac90
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
lea ecx, [edx + eax*8]
mov dword [esp + 0x7c], ecx
lea ecx, [ebx*8]
mov dword [esp + 0x8c], ecx
lea ebx, [edx + ebx*8]
mov dword [esp + 0x80], ebx
mov ebx, dword [0x5ecf88]
test ebx, ebx
mov dword [0x5e17cc], ebx
jle 0x465e51
mov dword [esp + 0x94], ebx
xor ecx, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x84], edi
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esi + ecx*4 + 4]
mov eax, edi
cdq
xor edi, edx
mov eax, dword [esi + ecx*4]
sub edi, edx
cdq
xor eax, edx
sub eax, edx
sub edi, eax
mov dword [ebx + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0x94]
jb 0x46548e
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
inc ebx
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
lea eax, [edx + eax*8]
mov dword [0x5e17d0], ebx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xa0]
lea ebx, [edx + edi*8]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x20], ebx
lea ebx, [edx + ecx*8]
lea ecx, [edx + eax*8]
lea eax, [edx + edi*8]
lea edi, [esi*8]
mov dword [esp + 0xc0], edi
lea esi, [edx + esi*8]
mov edx, dword [0x5ecf6c]
cmp edx, 2
je 0x465569
cmp edx, 3
jne 0x465541
push esi
push eax
push ecx
push 0x5c0f90
push ebx
push dword [esp + 0x34]
push 0x5ecf88
call fcn.005a8c00
jmp 0x465580
cmp edx, 4
jne 0x465583
push esi
push eax
push ecx
push 0x5c0f90
push dword [esp + 0x8c]
push ebx
push dword [esp + 0x38]
push 0x5ecf88
call fcn.005a92a0
add esp, 0x20
jmp 0x465583
push esi
push eax
push ecx
push 0x5c0f90
push ebx
push dword [esp + 0x34]
push 0x5ecf88
call fcn.005a8e00
add esp, 0x1c
push 0xa
push 0x5c110c
call fcn.0045bc90
jmp 0x4655ad
lea eax, [ebx*8]
mov dword [esp + 0x8c], eax
lea edx, [esi*8]
mov dword [esp + 0xc0], edx
push 0x5c0f88
call fcn.0045c860
push 0xa
push 0x5c1190
call fcn.0045bc90
mov eax, dword [0x5ecf88]
lea ecx, [esp + 0x98]
inc eax
mov edx, 0x5c0f88
mov dword [esp + 0x98], eax
push 0
push 0x5c0f80
push 0x5c0f84
push edx
push edx
push ecx
push 0xa
push str.ICN.DD
call fcn.0045ac90
mov edi, eax
push 0
push 0x5c0f80
push 0x5c0f84
mov eax, 0x5c0f88
push eax
push eax
push 0x5ecf9c
push 0xa
push str.JCN.DD
call fcn.0045ac90
mov dword [esp + 0x80], eax
cmp dword [0x5ecf78], 0xe
je 0x466128
mov edx, dword [0x5ecf70]
cmp edx, 1
je 0x4660d4
cmp dword [0x5ecf8c], 0
jne 0x465655
mov eax, dword [0x5ecf88]
mov dword [0x5ecf8c], eax
jmp 0x46565a
mov eax, dword [0x5ecf88]
test edx, edx
jle 0x4660b8
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
mov ebx, dword [esp + 0x8c]
mov dword [0x5e17e8], eax
lea esi, [ebx + edx]
lea ebx, [edx + edi*8]
add edx, dword [esp + 0xc0]
test eax, eax
jle 0x4660a9
mov dword [esp + 0xc4], eax
xor ecx, ecx
mov dword [esp + 0x20], edi
mov edi, edx
mov eax, dword [esi + ecx*4 + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + ecx*4]
mov dword [esi + ecx*4 + 4], eax
sub eax, dword [esi + ecx*4]
inc ecx
mov dword [ebx + edx*4], eax
cmp ecx, dword [esp + 0xc4]
jb 0x4656a3
mov eax, dword [esp + 0xc4]
lea edx, [eax + 1]
mov edi, dword [esp + 0x20]
mov dword [0x5e17ec], edx
lea edx, [esp + 0x94]
lea eax, [eax + eax + 2]
mov dword [esp + 0x94], eax
push edx
push esi
call fcn.00461390
mov eax, dword [0x5ecf88]
test eax, eax
jle 0x46609a
xor edx, edx
mov ecx, dword [esi + edx*4]
add ecx, dword [ebx + edx*4 + 4]
mov dword [esi + edx*4 + 4], ecx
inc edx
cmp edx, eax
jb 0x4656ff
lea edx, [eax + 1]
mov dword [0x5e17ec], edx
cmp dword [0x5ecf70], 1
je 0x466059
cmp dword [0x5ecf80], 0
jne 0x465751
mov ecx, dword [0x5ecf7c]
mov edx, dword [0x5d9cb0]
shl edx, 3
mov dword [esp + 0x7c], ecx
mov dword [0x5ecf80], ecx
mov ecx, dword [0x5d9c90]
sub ecx, edx
jmp 0x46576c
mov ecx, dword [0x5ecf7c]
mov edx, dword [0x5d9cb0]
shl edx, 3
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x5d9c90]
sub ecx, edx
mov edx, dword [esp + 0xc0]
test eax, eax
mov esi, dword [esp + 0xa8]
mov dword [0x5e17f4], eax
lea ebx, [ecx + edx]
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0xb0]
lea edx, [ecx + esi*8]
mov dword [esp + 0xbc], edx
lea edx, [ecx + edi*8]
lea esi, [ecx + ebx*8]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x84], esi
lea ecx, [ecx + ebx*8]
mov ebx, dword [0x5ecf9c]
mov dword [esp + 0xc8], ecx
mov dword [0x5e17f8], ebx
mov dword [edx], 0
jle 0x46585a
lea ecx, [edx + 4]
and ecx, 0xf
mov dword [esp + 0x78], ecx
je 0x4657f5
test byte [esp + 0x78], 3
jne 0x465e60
neg ecx
add ecx, 0x10
shr ecx, 2
mov dword [esp + 0x78], ecx
lea esi, [ecx + 4]
cmp eax, esi
jl 0x465e60
mov esi, eax
sub esi, ecx
and esi, 3
neg esi
add esi, eax
test ecx, ecx
jbe 0x46582e
mov dword [esp + 0x20], edi
xor ecx, ecx
mov edi, dword [esp + 0x78]
mov dword [edx + ecx*4 + 4], 0
inc ecx
cmp ecx, edi
jb 0x465819
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
pxor xmm0, xmm0
movdqa xmmword [edx + ecx*4 + 4], xmm0
add ecx, 4
cmp ecx, esi
jb 0x465836
cmp esi, eax
jae 0x466201
mov dword [edx + esi*4 + 4], 0
inc esi
cmp esi, eax
jb 0x46584b
test eax, eax
jle 0x465954
xor esi, esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x88], edx
mov edx, esi
mov dword [esp + 0xc4], eax
mov eax, esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xcc]
lea ebx, [edx + 1]
mov edx, dword [esp + 0xbc]
mov ecx, ebx
mov esi, dword [edi + eax*4]
mov edx, dword [edx + eax*4 + 4]
mov edi, edx
sub edi, ebx
inc edi
mov dword [esp + 0xb8], edi
cmp edx, ebx
jl 0x465913
mov edi, dword [esp + 0x84]
xor ecx, ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edx
lea edi, [edi + ebx*4]
mov ebx, edi
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0xcc]
mov edi, dword [ebx + ecx*4 - 4]
mov edi, dword [edx + edi*4 - 4]
cmp esi, edi
jg 0x4658e8
inc dword [eax + edi*4]
jmp 0x4658eb
inc dword [eax + esi*4]
inc ecx
cmp ecx, dword [esp + 0xb8]
jb 0x4658d7
mov edx, dword [esp + 0x9c]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xa0]
mov dword [0x5e17fc], edi
inc eax
cmp eax, dword [esp + 0xc4]
jb 0x46587c
mov dword [esp + 0xb4], ebx
mov dword [0x5e17b8], ecx
mov ecx, ebx
mov eax, dword [esp + 0xc4]
test eax, eax
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x20]
mov dword [0x5e17bc], esi
mov dword [0x5e17c0], ecx
jle 0x466047
xor esi, esi
mov dword [esp + 0x78], ebx
mov ebx, esi
mov dword [esp + 0x20], edi
mov edi, esi
mov ecx, esi
add esi, dword [edx + ebx*4 + 4]
mov dword [edx + ebx*4 + 4], edi
inc ebx
cmp ebx, eax
jb 0x465966
mov ebx, dword [esp + 0x78]
test eax, eax
mov edi, dword [esp + 0x20]
mov dword [0x5e17d8], esi
mov dword [0x5e17b8], ecx
jle 0x466035
xor ecx, ecx
mov dword [esp + 0x78], ebx
mov ebx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xcc]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xbc]
mov edx, edi
mov esi, dword [eax + ebx*4]
mov ecx, dword [ecx + ebx*4 + 4]
mov eax, ecx
sub eax, edi
inc eax
cmp ecx, edi
jl 0x465a7f
xor edx, edx
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xb4], edi
lea edx, [edx + edi*4]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xa0], ebx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0xcc]
mov edi, dword [eax + ecx*4 - 4]
mov eax, dword [ebx + edi*4 - 4]
cmp esi, eax
jg 0x465a46
mov ebx, dword [esp + 0xc8]
mov edi, dword [edx + eax*4]
inc edi
mov dword [edx + eax*4], edi
mov dword [ebx + edi*4 - 4], esi
jmp 0x465a58
mov edi, dword [edx + esi*4]
inc edi
mov ebx, dword [esp + 0xc8]
mov dword [edx + esi*4], edi
mov dword [ebx + edi*4 - 4], eax
inc ecx
cmp ecx, dword [esp + 0xd0]
jb 0x465a18
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + 1]
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa0]
mov dword [0x5e17fc], eax
inc ebx
cmp ebx, dword [esp + 0xc4]
jb 0x4659ad
mov dword [esp + 0xb4], edi
mov dword [0x5e17b8], edx
mov edx, edi
mov eax, dword [esp + 0xc4]
test eax, eax
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
mov dword [0x5e17bc], esi
mov dword [0x5e17c0], edx
mov dword [0x5e17c4], ecx
jle 0x466026
lea edx, [eax + 1]
mov dword [0x5e17b4], edx
mov ecx, dword [0x5d9cb0]
shl ecx, 3
mov edx, dword [0x5d9c90]
sub edx, ecx
mov dword [0x5e180c], eax
test eax, eax
mov dword [0x5e1810], ebx
lea esi, [edx + edi*8]
mov dword [esp + 0xa0], esi
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0x80]
lea ecx, [edx + edi*8]
mov dword [ecx], 0
lea edi, [edx + esi*8]
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x20], edi
lea edx, [edx + esi*8]
jle 0x465c21
lea esi, [ecx + 4]
and esi, 0xf
je 0x465b40
test esi, 3
jne 0x465e67
neg esi
add esi, 0x10
shr esi, 2
lea ebx, [esi + 4]
cmp eax, ebx
jl 0x465e67
mov ebx, eax
sub ebx, esi
and ebx, 3
neg ebx
add ebx, eax
test esi, esi
jbe 0x465b69
xor edi, edi
mov dword [ecx + edi*4 + 4], 0
inc edi
cmp edi, esi
jb 0x465b5c
pxor xmm0, xmm0
movdqa xmmword [ecx + esi*4 + 4], xmm0
add esi, 4
cmp esi, ebx
jb 0x465b6d
cmp ebx, eax
jae 0x465b8b
mov dword [ecx + ebx*4 + 4], 0
inc ebx
cmp ebx, eax
jb 0x465b7e
xor ebx, ebx
mov dword [esp + 0x78], edx
xor edi, edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc4], eax
mov eax, ebx
lea esi, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ebx, esi
mov eax, dword [eax + edi*4 + 4]
mov edx, eax
sub edx, esi
inc edx
cmp eax, esi
jl 0x465bf7
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], eax
mov edi, dword [esp + 0x80]
lea ecx, [ecx + esi*4]
mov eax, dword [ecx + ebx*4 - 4]
inc ebx
inc dword [edi + eax*4]
cmp ebx, edx
jb 0x465bda
mov eax, dword [esp + 0x84]
lea ebx, [eax + 1]
mov edi, dword [esp + 0x88]
inc edi
cmp edi, dword [esp + 0xc4]
jb 0x465ba3
mov eax, dword [esp + 0xc4]
test eax, eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov dword [0x5e1818], ebx
mov dword [0x5e181c], esi
mov edi, 0
jle 0x465c45
xor esi, esi
xor ebx, ebx
mov edi, dword [ecx + ebx*4 + 4]
mov dword [ecx + ebx*4 + 4], esi
inc ebx
add edi, esi
mov esi, edi
cmp ebx, eax
jb 0x465c2c
mov dword [0x5e1818], edi
test eax, eax
jle 0x466007
xor esi, esi
mov dword [esp + 0x9c], edi
xor ebx, ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xa0]
lea edx, [esi + 1]
mov ecx, edx
mov esi, dword [eax + ebx*4 + 4]
mov edi, esi
sub edi, edx
inc ebx
inc edi
cmp esi, edx
jl 0x465cea
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x88], edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x84], esi
lea ecx, [ecx + edx*4]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0xb4]
mov esi, dword [esi + eax*4 - 4]
inc eax
mov edi, dword [ecx + esi*4]
inc edi
mov dword [ecx + esi*4], edi
cmp eax, dword [esp + 0xb0]
mov dword [edx + edi*4 - 4], ebx
jb 0x465cb2
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x84]
lea ecx, [esi + 1]
mov edx, dword [esp + 0x88]
cmp ebx, dword [esp + 0xc4]
jb 0x465c68
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xc4]
mov dword [0x5e181c], edx
lea edx, [eax + 1]
mov dword [0x5e182c], edi
mov dword [0x5e1818], ecx
mov dword [0x5e1830], esi
mov dword [0x5e1834], edx
mov ebx, dword [0x5d9cb0]
shl ebx, 3
mov esi, dword [0x5d9c90]
sub esi, ebx
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x7c]
add dword [esp + 0xc0], esi
mov dword [0x5e1838], ecx
lea ebx, [esi + edx*8]
add esi, dword [esp + 0x8c]
mov dword [0x5e183c], eax
test eax, eax
jle 0x465ff8
xor ecx, ecx
mov dword [esp + 0x7c], esi
xor edx, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc4], eax
mov ebx, dword [esp + 0xc0]
mov eax, ecx
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x80], ecx
mov edi, dword [ebx + edx*4]
lea ebx, [eax + 1]
add ecx, dword [esi + edi*4]
sub ecx, dword [esi + edi*4 - 4]
mov esi, ecx
sub esi, eax
cmp ecx, eax
jle 0x465dd2
mov edi, dword [esp + 0x20]
xor ebx, ebx
lea eax, [edi + eax*4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0x7c]
mov eax, dword [eax + edx*4]
mov eax, dword [edi + eax*4 - 4]
mov edi, dword [esp + 0x78]
inc eax
mov dword [edi + ebx*4], eax
inc ebx
inc eax
cmp ebx, esi
jb 0x465dc6
lea ebx, [ecx + 1]
inc edx
cmp edx, dword [esp + 0xc4]
jb 0x465d79
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xc4]
mov dword [0x5e1820], ebx
mov dword [0x5e1824], edx
mov dword [0x5e1828], ecx
test eax, eax
jle 0x465fe9
lea edx, [eax + 1]
mov dword [0x5e1814], edx
cmp dword [0x5ecf78], 0xe
je 0x465e6e
push 0xa
push str..DD
call fcn.0045bc90
mov edx, dword [ebp + 0xc]
mov eax, dword [0x5e1444]
mov dword [edx], eax
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor edx, edx
jmp 0x46506e
mov dword [0x5e17dc], 1
jmp 0x4652de
mov dword [0x5e17d0], 1
jmp 0x4654e8
xor esi, esi
jmp 0x465843
xor ebx, ebx
jmp 0x465b7a
mov edx, dword [0x5d9cb0]
shl edx, 3
mov ecx, dword [0x5d9c90]
sub ecx, edx
mov ebx, dword [esp + 0xa8]
mov edx, dword [0x5ecf8c]
mov dword [0x5e1848], eax
lea esi, [ecx + ebx*8]
mov ecx, eax
sub ecx, edx
cmp eax, edx
jle 0x465fdd
mov dword [esp + 0xc4], eax
lea ebx, [esi + edx*4]
xor edx, edx
mov edi, dword [ebx]
mov eax, edx
add edi, ecx
add edi, eax
dec eax
mov dword [ebx + edx*4 + 4], edi
inc edx
cmp edx, ecx
jb 0x465eb0
mov eax, dword [esp + 0xc4]
lea edx, [eax + 1]
mov dword [0x5e1808], edx
push 0
mov edx, 0x5c0f88
push edx
push edx
push 0x5ecf9c
push 0xa
mov eax, dword [esi + eax*4]
push 0x5c11b4
mov dword [0x5ecf9c], eax
call fcn.0045e070
mov ebx, dword [0x5d9cb0]
shl ebx, 3
mov edx, dword [0x5d9c90]
sub edx, ebx
mov ecx, dword [0x5ecf9c]
mov dword [0x5e1850], ecx
mov ecx, dword [0x5ecf8c]
mov esi, dword [0x5ecf88]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0xa8]
mov dword [0x5e184c], esi
lea edi, [edx + eax*8]
mov edx, dword [edi + ecx*4]
mov edi, esi
sub edi, ecx
cmp esi, ecx
jle 0x465fcb
xor eax, eax
inc esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x80], edi
mov ebx, eax
mov edi, dword [esp + 0x80]
lea esi, [ecx + 1]
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
add edi, ebx
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
lea edi, [edi + edx*4]
mov eax, edi
mov edi, dword [esp + 0x8c]
mov dword [eax + ecx*4], esi
inc ecx
inc edx
inc esi
cmp ecx, edi
jb 0x465f8f
mov eax, dword [esp + 0x84]
dec ebx
inc eax
mov ecx, dword [esp + 0x7c]
inc ecx
cmp eax, dword [esp + 0x80]
jb 0x465f4f
mov esi, dword [esp + 0x20]
mov dword [0x5e1854], esi
mov dword [0x5e1804], edx
mov dword [0x5e1800], esi
jmp 0x465e16
inc ecx
mov dword [0x5e1800], ecx
mov dword [0x5e1804], edx
jmp 0x465e16
inc edx
mov dword [0x5e1808], edx
jmp 0x465ece
mov dword [0x5e1814], 1
jmp 0x465e0d
mov dword [0x5e1828], 0
jmp 0x465dfc
mov dword [0x5e182c], edi
mov dword [0x5e1830], 0
mov dword [0x5e1834], 1
jmp 0x465d26
mov dword [0x5e17b4], 1
jmp 0x465ace
mov dword [0x5e17c4], 0
jg 0x465ac5
jmp 0x466026
mov dword [0x5e17d8], 0
jg 0x465993
jmp 0x466035
mov ebx, dword [0x5d9cb0]
shl ebx, 3
mov ecx, dword [0x5d9c90]
sub ecx, ebx
mov edx, dword [0x5ecf8c]
mov esi, dword [esp + 0x8c]
inc edx
mov dword [0x5e17f0], edx
lea ebx, [esi + ecx]
mov esi, dword [0x5ecf7c]
mov edx, dword [ebx + edx*4 - 4]
mov dword [0x5ecf80], edx
mov dword [esp + 0x7c], esi
jmp 0x46576c
mov dword [0x5e17ec], 1
jmp 0x465718
mov dword [0x5e17ec], 1
jmp 0x4656d7
cmp dword [0x5ecf6c], 0
jg 0x465662
mov edx, dword [0x5ecf7c]
mov dword [esp + 0x7c], edx
jmp 0x465d26
mov ebx, dword [0x5d9cb0]
add esp, 0xffffffec
shl ebx, 3
mov ecx, dword [0x5d9c90]
sub ecx, ebx
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
lea eax, [esi + ecx]
lea edx, [ecx + edx*8]
add ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], 0x5ecf88
mov dword [esp + 0x10], 0x5ecf8c
call fcn.0046621c
mov eax, dword [0x5ecf88]
mov edx, dword [0x5ecf70]
jmp 0x46565a
mov ebx, dword [0x5d9cb0]
add esp, 0xffffffec
shl ebx, 3
mov ecx, dword [0x5d9c90]
sub ecx, ebx
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
lea eax, [esi + ecx]
lea edx, [ecx + edx*8]
add ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], 0x5ecf88
mov dword [esp + 0x10], 0x5ecf8c
call fcn.0046621c
jmp 0x465631
mov dword [0x5e17c8], 1
jmp 0x464f3f
mov dword [0x5e1840], edx
mov dword [0x5e1844], 0
jg 0x464f3a
jmp 0x466171
mov dword [esp], 0
lea esi, [esp]
mov dword [esp + 0x38], 0x12
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0x5c1010
push 0x20
push eax
push 0x5c0f50
push 0x8384ff00
push 0x3c
push esi
call fcn.00549330
mov dword [esp + 0x18], 0
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x12
mov dword [esp + 0x5c], 0x5c1074
push 0x20
push eax
push 0x5c0f78
push 0x8384ff00
push 6
push esi
call fcn.00549330
jmp 0x464b09
test eax, eax
jg 0x465860
jmp 0x465954