Function at 0x425c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp dword [0x43cef0], 4
push ebx
push ebp
push esi
push edi
jl 0x425d26
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [0x43d690]
and ecx, 0xffffff
push ecx
push str.qh_find_newvertex:_find_new_vertex_for_v_d_from
push 0x1f7f
push edx
call fcn.00416e30
mov ebp, dword [esp + 0x34]
add esp, 0x10
test ebp, ebp
je 0x425ccb
mov eax, dword [ebp + 4]
test eax, eax
lea esi, [ebp + 4]
je 0x425ccb
lea ecx, [ecx]
mov eax, dword [eax + 0x14]
mov ecx, dword [0x43d690]
and eax, 0xffffff
push eax
push str.v_d
push 0x1f80
push ecx
add esi, 4
call fcn.00416e30
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jne 0x425ca0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x425d0b
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x425d0b
lea ecx, [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [0x43d690]
and edx, 0xffffff
push edx
push str.r_d
push 0x1f81
push eax
add esi, 4
call fcn.00416e30
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jne 0x425ce0
mov ecx, dword [0x43d690]
push 0x429bbc
push 0x1f82
push ecx
call fcn.00416e30
add esp, 0xc
jmp 0x425d2a
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x425d4d
mov eax, dword [ebp + 4]
test eax, eax
lea ecx, [ebp + 4]
je 0x425d4d
mov edx, 0x80000000
lea ecx, [ecx]
and dword [eax + 0x10], edx
mov eax, dword [ecx + 4]
add ecx, 4
test eax, eax
jne 0x425d40
mov esi, dword [esp + 0x28]
test esi, esi
mov ebx, 0x7fffffff
je 0x425d94
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x425d94
mov eax, dword [eax]
add esi, 4
test eax, eax
je 0x425d8e
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
je 0x425d8e
mov ecx, dword [eax + 0x10]
lea edi, [ecx + 1]
xor edi, ecx
and edi, ebx
xor edi, ecx
add edx, 4
mov dword [eax + 0x10], edi
mov eax, dword [edx]
test eax, eax
jne 0x425d76
mov eax, dword [esi]
test eax, eax
jne 0x425d64
test ebp, ebp
je 0x425dd6
mov eax, dword [ebp + 4]
test eax, eax
lea esi, [ebp + 4]
je 0x425dd6
mov edi, esi
sub edi, ebp
sub edi, 8
lea esp, [esp]
add esi, 4
add edi, 4
test dword [eax + 0x10], ebx
jne 0x425dd0
mov edx, edi
sar edx, 2
push edx
push ebp
call fcn.00417af0
add esp, 8
sub esi, 4
sub edi, 4
mov eax, dword [esi]
test eax, eax
jne 0x425db0
mov eax, dword [esp + 0x28]
push eax
call fcn.00417770
mov ecx, dword [0x43d784]
add eax, ecx
xor eax, ecx
and eax, ebx
xor ecx, eax
push ebp
mov dword [0x43d784], ecx
call fcn.00417770
add esp, 8
test eax, eax
jne 0x425e3a
cmp dword [0x43cef0], 4
jl 0x425e30
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
mov eax, dword [0x43d690]
and edx, 0xffffff
push edx
push str.qh_find_newvertex:_vertices_not_in_ridges_for_v_d_n
push 0xfb7
push eax
call fcn.00416e30
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push 0x422c30
push 4
push ebp
lea edi, [ebp + 4]
call fcn.00417770
add esp, 4
push eax
push edi
call sub.MSVCR80.dll_qsort
add esp, 0x10
cmp dword [0x43d010], 0
je 0x425e83
push ebp
call fcn.00417770
add dword [0x43c258], 1
add dword [0x43c278], eax
add esp, 4
cmp dword [0x43c268], eax
jge 0x425e83
mov dword [0x43c268], eax
mov esi, dword [esp + 0x28]
push esi
call fcn.00417770
push eax
call fcn.00406c00
add esp, 8
test esi, esi
mov ebp, eax
je 0x425ecf
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x425ecf
jmp 0x425eb0
mov ecx, dword [esp + 0x20]
mov edx, dword [0x43d798]
push ecx
push eax
push ebp
push edx
add esi, 4
call fcn.00423290
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jne 0x425eb0
xor ebx, ebx
cmp dword [esp + 0x24], ebx
je 0x425f5d
mov ebx, dword [edi]
test ebx, ebx
je 0x425f5d
add edi, 4
push ebx
mov dword [esp + 0x18], edi
call fcn.00425b70
add esp, 4
xor esi, esi
test eax, eax
mov dword [esp + 0x10], eax
je 0x425f42
mov esi, dword [eax + 4]
test esi, esi
lea edi, [eax + 4]
je 0x425f42
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov edx, dword [0x43d798]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
push esi
push ebp
push edx
add edi, 4
call fcn.004232e0
add esp, 0x18
test eax, eax
jne 0x425f3b
mov esi, dword [edi]
test esi, esi
jne 0x425f10
jmp 0x425f42
add dword [0x43c180], 1
lea eax, [esp + 0x10]
push eax
call fcn.00418180
add esp, 4
test esi, esi
je 0x425fae
mov edi, dword [esp + 0x14]
mov ebx, dword [edi]
test ebx, ebx
jne 0x425ee5
add dword [0x43c1d0], 1
cmp dword [0x43cef0], 0
je 0x425f97
mov edx, dword [esp + 0x20]
mov ecx, dword [0x43d704]
mov eax, dword [edx + 0x14]
push ecx
mov ecx, dword [0x43d690]
and eax, 0xffffff
push eax
push str.qh_find_newvertex:_no_vertex_for_renaming_v_d_all_duplicated_ridges__during_p_d_n
push 0xe
push ecx
call fcn.00416e30
add esp, 0x14
push 0x43d798
call fcn.004174c0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
test ebx, ebx
je 0x425f5d
cmp dword [0x43cef0], 2
jl 0x425f97
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00417770
mov edx, dword [esp + 0x28]
add esp, 4
push eax
push edx
call fcn.00417770
mov edx, dword [ebx + 0x14]
add esp, 4
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov eax, dword [0x43d690]
and ecx, 0xffffff
push ecx
and edx, 0xffffff
push edx
push str.qh_find_newvertex:_found_v_d_for_old_v_d_from__d_vertices_and__d_ridges._n
push 0x7e4
push eax
call fcn.00416e30
add esp, 0x1c
jmp 0x425f97