Function at 0x40b750
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5030f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1d0
push esi
mov eax, ecx
mov byte [ebp - 0x84], 0
push edi
push dword [ebp - 0x84]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
call fcn.004715a0
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.00407880
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x11], al
mov dword [ebp - 4], 0xffffffff
call fcn.00468a90
cmp byte [ebp - 0x11], 0
je 0x40c40e
lea ecx, [ebp - 0xa8]
call fcn.0040b000
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x9c], eax
push eax
mov dword [ebp - 4], 1
push 2
mov dword [ebp - 0x1e0], 0x128
call dword [0x50c070]
mov esi, eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call dword [0x50c1f4]
cmp eax, 1
jne 0x40b97e
mov edi, dword [0x50c0b4]
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
jne 0x40b97e
nop word [eax + eax]
mov dword [ebp - 0x2c], 0x89938fc7
xor ecx, ecx
mov word [ebp - 0x28], 0x100
nop
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 4
jb 0x40b860
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dee20
add esp, 8
test eax, eax
je 0x40b962
mov dword [ebp - 0x34], 0x9f8a9985
xor ecx, ecx
mov word [ebp - 0x30], 0x9e
mov byte [ebp - 0x2e], 1
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 5
jb 0x40b8a0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dee20
add esp, 8
test eax, eax
jne 0x40b962
mov dword [ebp - 0x95], 0x84889c9a
xor ecx, ecx
mov dword [ebp - 0x91], 0x9b9d82
mov byte [ebp - 0x8d], 1
nop word [eax + eax]
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x95], al
inc ecx
cmp ecx, 7
jb 0x40b8f0
lea eax, [ebp - 0x95]
mov byte [ebp - 0x8d], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dee20
add esp, 8
test eax, eax
jne 0x40b962
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x84]
je 0x40b943
mov eax, dword [ebp - 0x1d8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xa0], ecx
jmp 0x40b962
lea eax, [ebp - 0x1d8]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00472f60
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
je 0x40b850
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
push esi
call dword [0x50c0b8]
mov esi, dword [ebp - 0x24]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b9a2
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00403410
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1d], 0x100b6d3
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 2
jb 0x40b9c2
sub esp, 0x18
mov byte [ebp - 0x1a], 0
mov edx, esp
mov dword [ebp - 0x2c], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x1d]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b9f6
sub ecx, esi
lea eax, [ebp - 0x1d]
push ecx
push eax
mov ecx, edx
call fcn.00403410
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.00466660
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040cfe0
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x40ba76
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x40ba76
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40ba6c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00466240
mov word [ebp - 0x14], 0x2f
mov byte [ebp - 0x12], 0
lea edx, [ebp - 0x14]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40ba86
sub edx, ecx
lea eax, [ebp - 0x14]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
push edx
cmovae ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push eax
push 0
call fcn.0046bc50
add esp, 0xc
cmp eax, 0xffffffff
je 0x40bcc0
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x16], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bae0
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00403410
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0x2f
mov byte [ebp - 0x1a], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bb20
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
lea edi, [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x6c]
cmovae ecx, edx
mov eax, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x24], edx
cmovae edi, dword [ebp - 0x4c]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x2c], edi
cmp esi, eax
ja 0x40bc48
sub eax, esi
test esi, esi
jne 0x40bb7d
xor edi, edi
jmp 0x40bc2c
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x8c], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.004e0fa0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40bc45
mov edx, dword [ebp - 0x88]
mov ecx, edi
sub esi, 4
jb 0x40bbc1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bbc6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bbb0
cmp esi, 0xfffffffc
je 0x40bbfa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bbf3
cmp esi, 0xfffffffd
je 0x40bbfa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bbf3
cmp esi, 0xfffffffe
je 0x40bbfa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bbf3
cmp esi, 0xffffffff
je 0x40bbfa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40bbfa
sbb eax, eax
or eax, 1
jmp 0x40bbfc
xor eax, eax
test eax, eax
je 0x40bc21
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004e0fa0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bba3
jmp 0x40bc45
sub edi, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x40bc45
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x4c]
push eax
push esi
push edi
call fcn.00468dd0
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
je 0x40bc7e
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40bc74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ba80
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
jmp 0x40ba80
mov dword [ebp - 0x19], 0x100b6b5
xor ecx, ecx
nop dword [eax]
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40bcd0
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40bce8
sub edx, ecx
lea eax, [ebp - 0x19]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
push edx
cmovae ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push eax
push 0
call fcn.0046bc50
add esp, 0xc
cmp eax, 0xffffffff
je 0x40bf32
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0x5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bd40
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00403410
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x15], 0x100b6b5
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40bd63
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bd90
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403410
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
lea edi, [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x6c]
cmovae ecx, edx
mov eax, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x24], edx
cmovae edi, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x88], edi
cmp esi, eax
ja 0x40bebb
sub eax, esi
test esi, esi
jne 0x40bded
xor edi, edi
jmp 0x40be9f
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x34], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.004e0fa0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40beb8
mov edx, dword [ebp - 0x2c]
mov ecx, edi
sub esi, 4
jb 0x40be31
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40be36
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40be20
cmp esi, 0xfffffffc
je 0x40be6a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40be63
cmp esi, 0xfffffffd
je 0x40be6a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40be63
cmp esi, 0xfffffffe
je 0x40be6a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40be63
cmp esi, 0xffffffff
je 0x40be6a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40be6a
sbb eax, eax
or eax, 1
jmp 0x40be6c
xor eax, eax
test eax, eax
je 0x40be91
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004e0fa0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40be13
jmp 0x40beb8
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40beb8
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x4c]
push eax
push esi
push edi
call fcn.00468dd0
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
je 0x40bef1
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40bee7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40bcc0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
jmp 0x40bcc0
mov dword [ebp - 0x19], 0x100c5b5
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40bf40
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40bf58
sub edx, ecx
lea eax, [ebp - 0x19]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
push edx
cmovae ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push eax
push 0
call fcn.0046bc50
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c1a2
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0x5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bfb0
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00403410
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x15], 0x100c5b5
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40bfd3
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c000
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403410
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
lea edi, [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x6c]
cmovae ecx, edx
mov eax, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x24], edx
cmovae edi, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x88], edi
cmp esi, eax
ja 0x40c12b
sub eax, esi
test esi, esi
jne 0x40c05d
xor edi, edi
jmp 0x40c10f
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x34], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.004e0fa0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40c128
mov ecx, dword [ebp - 0x2c]
mov edx, edi
sub esi, 4
jb 0x40c0a1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40c0a6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x40c090
cmp esi, 0xfffffffc
je 0x40c0da
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40c0d3
cmp esi, 0xfffffffd
je 0x40c0da
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40c0d3
cmp esi, 0xfffffffe
je 0x40c0da
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40c0d3
cmp esi, 0xffffffff
je 0x40c0da
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40c0da
sbb eax, eax
or eax, 1
jmp 0x40c0dc
xor eax, eax
test eax, eax
je 0x40c101
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004e0fa0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40c083
jmp 0x40c128
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40c128
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x4c]
push eax
push esi
push edi
call fcn.00468dd0
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 9
je 0x40c161
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40c157
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40bf32
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c193
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
jmp 0x40bf32
mov dword [ebp - 0x19], 0x100b6c6
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40c1b0
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40c1c8
sub edx, ecx
lea eax, [ebp - 0x19]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
push edx
cmovae ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push eax
push 0
call fcn.0046bc50
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c34f
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0x5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c220
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00403410
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [ebp - 0x15], 0x100b6c6
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40c243
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c270
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403410
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x7c]
mov edi, dword [ebp - 0x68]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x6c]
mov esi, dword [ebp - 0x7c]
cmp edi, 0x10
mov edx, dword [ebp - 0x3c]
cmovae eax, esi
setae byte [ebp - 0x11]
cmp dword [ebp - 0x38], 0x10
push eax
cmovae ecx, dword [ebp - 0x4c]
push 0
call fcn.0046bc50
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c2d9
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae ecx, dword [ebp - 0x64]
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00468dd0
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xb
je 0x40c30e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40c304
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push esi
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40c1a2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
jmp 0x40c1a2
mov esi, dword [ebp - 0x80]
mov edi, esi
cmp edi, dword [ebp - 0xa0]
je 0x40c38e
nop dword [eax]
mov esi, dword [edi]
lea eax, [ebp - 0x4c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00466660
mov edx, dword [ebp - 0xa8]
mov ecx, esi
call fcn.0040b320
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0xa0]
jne 0x40c360
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xb4]
call fcn.00468860
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40c3c9
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c3bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
test esi, esi
je 0x40c40e
mov ecx, dword [ebp - 0x84]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40c404
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c421
push ecx
push esi
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2a70
int3