Function at 0x40a6a0
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.0046fe70
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.00406c80
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x11], al
mov dword [ebp - 4], 0xffffffff
call fcn.00467450
cmp byte [ebp - 0x11], 0
je 0x40b35e
lea ecx, [ebp - 0xa8]
call fcn.00409f50
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 0x40a8ce
mov edi, dword [0x50b0b0]
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
jne 0x40a8ce
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 0x40a7b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dd650
add esp, 8
test eax, eax
je 0x40a8b2
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 0x40a7f0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dd650
add esp, 8
test eax, eax
jne 0x40a8b2
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 0x40a840
lea eax, [ebp - 0x95]
mov byte [ebp - 0x8d], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004dd650
add esp, 8
test eax, eax
jne 0x40a8b2
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x84]
je 0x40a893
mov eax, dword [ebp - 0x1d8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xa0], ecx
jmp 0x40a8b2
lea eax, [ebp - 0x1d8]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00471830
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
je 0x40a7a0
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 0x40a8f2
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00402810
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 0x40a912
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 0x40a946
sub ecx, esi
lea eax, [ebp - 0x1d]
push ecx
push eax
mov ecx, edx
call fcn.00402810
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.00465030
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040be70
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 0x40a9c6
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x40a9c6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40a9bc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00464c20
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 0x40a9d6
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40ac10
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 0x40aa30
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402810
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 0x40aa70
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402810
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 0x40ab98
sub eax, esi
test esi, esi
jne 0x40aacd
xor edi, edi
jmp 0x40ab7c
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.004df7d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40ab95
mov edx, dword [ebp - 0x88]
mov ecx, edi
sub esi, 4
jb 0x40ab11
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40ab16
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40ab00
cmp esi, 0xfffffffc
je 0x40ab4a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40ab43
cmp esi, 0xfffffffd
je 0x40ab4a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40ab43
cmp esi, 0xfffffffe
je 0x40ab4a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40ab43
cmp esi, 0xffffffff
je 0x40ab4a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40ab4a
sbb eax, eax
or eax, 1
jmp 0x40ab4c
xor eax, eax
test eax, eax
je 0x40ab71
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004df7d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40aaf3
jmp 0x40ab95
sub edi, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x40ab95
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.00467790
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
je 0x40abce
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40abc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40a9d0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ac00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x40a9d0
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 0x40ac20
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40ac38
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40ae82
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 0x40ac90
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402810
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 0x40acb3
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 0x40ace0
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402810
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 0x40ae0b
sub eax, esi
test esi, esi
jne 0x40ad3d
xor edi, edi
jmp 0x40adef
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.004df7d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40ae08
mov edx, dword [ebp - 0x2c]
mov ecx, edi
sub esi, 4
jb 0x40ad81
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40ad86
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40ad70
cmp esi, 0xfffffffc
je 0x40adba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40adb3
cmp esi, 0xfffffffd
je 0x40adba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40adb3
cmp esi, 0xfffffffe
je 0x40adba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40adb3
cmp esi, 0xffffffff
je 0x40adba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40adba
sbb eax, eax
or eax, 1
jmp 0x40adbc
xor eax, eax
test eax, eax
je 0x40ade1
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004df7d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40ad63
jmp 0x40ae08
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40ae08
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.00467790
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
je 0x40ae41
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40ae37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ac10
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x40ac10
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 0x40ae90
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40aea8
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b0f2
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 0x40af00
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402810
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 0x40af23
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 0x40af50
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402810
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 0x40b07b
sub eax, esi
test esi, esi
jne 0x40afad
xor edi, edi
jmp 0x40b05f
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.004df7d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40b078
mov ecx, dword [ebp - 0x2c]
mov edx, edi
sub esi, 4
jb 0x40aff1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40aff6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x40afe0
cmp esi, 0xfffffffc
je 0x40b02a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40b023
cmp esi, 0xfffffffd
je 0x40b02a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40b023
cmp esi, 0xfffffffe
je 0x40b02a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40b023
cmp esi, 0xffffffff
je 0x40b02a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40b02a
sbb eax, eax
or eax, 1
jmp 0x40b02c
xor eax, eax
test eax, eax
je 0x40b051
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004df7d0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40afd3
jmp 0x40b078
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40b078
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.00467790
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 9
je 0x40b0b1
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40b0a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ae82
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x40ae82
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 0x40b100
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b118
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b29f
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 0x40b170
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402810
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 0x40b193
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 0x40b1c0
sub ecx, edx
lea eax, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402810
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b229
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.00467790
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xb
je 0x40b25e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b254
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push esi
call fcn.004dc002
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b0f2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b290
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
jmp 0x40b0f2
mov esi, dword [ebp - 0x80]
mov edi, esi
cmp edi, dword [ebp - 0xa0]
je 0x40b2de
nop dword [eax]
mov esi, dword [edi]
lea eax, [ebp - 0x4c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00465030
mov edx, dword [ebp - 0xa8]
mov ecx, esi
call fcn.0040a270
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0xa0]
jne 0x40b2b0
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xb4]
call fcn.00467220
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40b319
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b30f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push edx
call fcn.004dc002
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
test esi, esi
je 0x40b35e
mov ecx, dword [ebp - 0x84]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40b354
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b371
push ecx
push esi
call fcn.004dc002
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.004e12a0
int3