Function at 0x40b2a0
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 0x502523
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.00470a70
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.00468050
cmp byte [ebp - 0x11], 0
je 0x40bf5e
lea ecx, [ebp - 0xa8]
call fcn.0040ab50
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 [0x50b06c]
mov esi, eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call dword [0x50b1f0]
cmp eax, 1
jne 0x40b4ce
mov edi, dword [0x50b0b0]
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
jne 0x40b4ce
nop word [eax + eax]
mov dword [ebp - 0x2c], 0x77697521
xor ecx, ecx
mov word [ebp - 0x28], 0x100
nop
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 4
jb 0x40b3b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004de250
add esp, 8
test eax, eax
je 0x40b4b2
mov dword [ebp - 0x34], 0x61706363
xor ecx, ecx
mov word [ebp - 0x30], 0x60
mov byte [ebp - 0x2e], 1
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 5
jb 0x40b3f0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004de250
add esp, 8
test eax, eax
jne 0x40b4b2
mov dword [ebp - 0x95], 0x7a72667c
xor ecx, ecx
mov dword [ebp - 0x91], 0x61677c
mov byte [ebp - 0x8d], 1
nop word [eax + eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x95], al
inc ecx
cmp ecx, 7
jb 0x40b440
lea eax, [ebp - 0x95]
mov byte [ebp - 0x8d], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004de250
add esp, 8
test eax, eax
jne 0x40b4b2
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x84]
je 0x40b493
mov eax, dword [ebp - 0x1d8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xa0], ecx
jmp 0x40b4b2
lea eax, [ebp - 0x1d8]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00472430
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
je 0x40b3a0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
push esi
call dword [0x50b0b4]
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 0x40b4f2
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], 0x1004c35
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 2
jb 0x40b512
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 0x40b546
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.00465c30
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040ca70
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 0x40b5c6
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x40b5c6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40b5bc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00465820
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 0x40b5d6
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b810
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 0x40b630
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 0x40b670
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 0x40b798
sub eax, esi
test esi, esi
jne 0x40b6cd
xor edi, edi
jmp 0x40b77c
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.004e03d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40b795
mov edx, dword [ebp - 0x88]
mov ecx, edi
sub esi, 4
jb 0x40b711
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40b716
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40b700
cmp esi, 0xfffffffc
je 0x40b74a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40b743
cmp esi, 0xfffffffd
je 0x40b74a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40b743
cmp esi, 0xfffffffe
je 0x40b74a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40b743
cmp esi, 0xffffffff
je 0x40b74a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40b74a
sbb eax, eax
or eax, 1
jmp 0x40b74c
xor eax, eax
test eax, eax
je 0x40b771
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004e03d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40b6f3
jmp 0x40b795
sub edi, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x40b795
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.00468390
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
je 0x40b7ce
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40b7c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b5d0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b800
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
jmp 0x40b5d0
mov dword [ebp - 0x19], 0x1004c53
xor ecx, ecx
nop dword [eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40b820
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b838
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x40ba82
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 0x40b890
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], 0x1004c53
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b8b3
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 0x40b8e0
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 0x40ba0b
sub eax, esi
test esi, esi
jne 0x40b93d
xor edi, edi
jmp 0x40b9ef
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.004e03d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40ba08
mov edx, dword [ebp - 0x2c]
mov ecx, edi
sub esi, 4
jb 0x40b981
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40b986
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40b970
cmp esi, 0xfffffffc
je 0x40b9ba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40b9b3
cmp esi, 0xfffffffd
je 0x40b9ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40b9b3
cmp esi, 0xfffffffe
je 0x40b9ba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40b9b3
cmp esi, 0xffffffff
je 0x40b9ba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40b9ba
sbb eax, eax
or eax, 1
jmp 0x40b9bc
xor eax, eax
test eax, eax
je 0x40b9e1
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004e03d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40b963
jmp 0x40ba08
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40ba08
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.00468390
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
je 0x40ba41
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40ba37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b810
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ba73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
jmp 0x40b810
mov dword [ebp - 0x19], 0x1003f53
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40ba90
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40baa8
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x40bcf2
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 0x40bb00
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], 0x1003f53
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40bb23
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 0x40bb50
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 0x40bc7b
sub eax, esi
test esi, esi
jne 0x40bbad
xor edi, edi
jmp 0x40bc5f
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.004e03d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40bc78
mov ecx, dword [ebp - 0x2c]
mov edx, edi
sub esi, 4
jb 0x40bbf1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40bbf6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x40bbe0
cmp esi, 0xfffffffc
je 0x40bc2a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40bc23
cmp esi, 0xfffffffd
je 0x40bc2a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40bc23
cmp esi, 0xfffffffe
je 0x40bc2a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40bc23
cmp esi, 0xffffffff
je 0x40bc2a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40bc2a
sbb eax, eax
or eax, 1
jmp 0x40bc2c
xor eax, eax
test eax, eax
je 0x40bc51
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004e03d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bbd3
jmp 0x40bc78
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40bc78
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.00468390
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 9
je 0x40bcb1
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40bca7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ba82
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bce3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
jmp 0x40ba82
mov dword [ebp - 0x19], 0x1004c20
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40bd00
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40bd18
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x40be9f
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 0x40bd70
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], 0x1004c20
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40bd93
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 0x40bdc0
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x40be29
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.00468390
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xb
je 0x40be5e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40be54
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push esi
call fcn.004dcc02
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40bcf2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40be90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
jmp 0x40bcf2
mov esi, dword [ebp - 0x80]
mov edi, esi
cmp edi, dword [ebp - 0xa0]
je 0x40bede
nop dword [eax]
mov esi, dword [edi]
lea eax, [ebp - 0x4c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00465c30
mov edx, dword [ebp - 0xa8]
mov ecx, esi
call fcn.0040ae70
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0xa0]
jne 0x40beb0
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xb4]
call fcn.00467e20
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40bf19
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
test esi, esi
je 0x40bf5e
mov ecx, dword [ebp - 0x84]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40bf54
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf71
push ecx
push esi
call fcn.004dcc02
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.004e1ea0
int3