Function at 0x40a6c0
Capabilities:
Encode data using xor
Enumerate processes

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 0x502c13
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.004704f0
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.004679e0
cmp byte [ebp - 0x11], 0
je 0x40b37e
lea ecx, [ebp - 0xa8]
call fcn.00409f70
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 [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40a8ee
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
jne 0x40a8ee
nop word [eax + eax]
mov dword [ebp - 0x2c], 0xd1f034b
xor ecx, ecx
mov word [ebp - 0x28], 0x100
nop
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 4
jb 0x40a7d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004ddd40
add esp, 8
test eax, eax
je 0x40a8d2
mov dword [ebp - 0x34], 0x1b061509
xor ecx, ecx
mov word [ebp - 0x30], 0x1a
mov byte [ebp - 0x2e], 1
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 5
jb 0x40a810
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004ddd40
add esp, 8
test eax, eax
jne 0x40a8d2
mov dword [ebp - 0x95], 0x41016
xor ecx, ecx
mov dword [ebp - 0x91], 0x1f1906
mov byte [ebp - 0x8d], 1
nop word [eax + eax]
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x95], al
inc ecx
cmp ecx, 7
jb 0x40a860
lea eax, [ebp - 0x95]
mov byte [ebp - 0x8d], 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004ddd40
add esp, 8
test eax, eax
jne 0x40a8d2
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x84]
je 0x40a8b3
mov eax, dword [ebp - 0x1d8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xa0], ecx
jmp 0x40a8d2
lea eax, [ebp - 0x1d8]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00471eb0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call edi
cmp eax, 1
je 0x40a7c0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x40a912
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], 0x1003a5f
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 2
jb 0x40a932
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 0x40a966
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.004655b0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040bf50
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 0x40a9e6
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x40a9e6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40a9dc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00465190
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 0x40a9f6
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.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40ac30
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 0x40aa50
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 0x40aa90
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 0x40abb8
sub eax, esi
test esi, esi
jne 0x40aaed
xor edi, edi
jmp 0x40ab9c
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.004dfec0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40abb5
mov edx, dword [ebp - 0x88]
mov ecx, edi
sub esi, 4
jb 0x40ab31
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40ab36
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40ab20
cmp esi, 0xfffffffc
je 0x40ab6a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40ab63
cmp esi, 0xfffffffd
je 0x40ab6a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40ab63
cmp esi, 0xfffffffe
je 0x40ab6a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40ab63
cmp esi, 0xffffffff
je 0x40ab6a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40ab6a
sbb eax, eax
or eax, 1
jmp 0x40ab6c
xor eax, eax
test eax, eax
je 0x40ab91
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004dfec0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40ab13
jmp 0x40abb5
sub edi, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x40abb5
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.00467d20
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
je 0x40abee
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40abe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40a9f0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ac20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x40a9f0
mov dword [ebp - 0x19], 0x1003a39
xor ecx, ecx
nop dword [eax]
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40ac40
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40ac58
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.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40aea2
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 0x40acb0
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], 0x1003a39
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40acd3
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 0x40ad00
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 0x40ae2b
sub eax, esi
test esi, esi
jne 0x40ad5d
xor edi, edi
jmp 0x40ae0f
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.004dfec0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40ae28
mov edx, dword [ebp - 0x2c]
mov ecx, edi
sub esi, 4
jb 0x40ada1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40ada6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40ad90
cmp esi, 0xfffffffc
je 0x40adda
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40add3
cmp esi, 0xfffffffd
je 0x40adda
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40add3
cmp esi, 0xfffffffe
je 0x40adda
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40add3
cmp esi, 0xffffffff
je 0x40adda
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40adda
sbb eax, eax
or eax, 1
jmp 0x40addc
xor eax, eax
test eax, eax
je 0x40ae01
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004dfec0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40ad83
jmp 0x40ae28
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40ae28
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.00467d20
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
je 0x40ae61
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40ae57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ac30
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x40ac30
mov dword [ebp - 0x19], 0x1004939
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40aeb0
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40aec8
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.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b112
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 0x40af20
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], 0x1004939
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40af43
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 0x40af70
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 0x40b09b
sub eax, esi
test esi, esi
jne 0x40afcd
xor edi, edi
jmp 0x40b07f
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.004dfec0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40b098
mov ecx, dword [ebp - 0x2c]
mov edx, edi
sub esi, 4
jb 0x40b011
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40b016
add edx, 4
add ecx, 4
sub esi, 4
jae 0x40b000
cmp esi, 0xfffffffc
je 0x40b04a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40b043
cmp esi, 0xfffffffd
je 0x40b04a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40b043
cmp esi, 0xfffffffe
je 0x40b04a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40b043
cmp esi, 0xffffffff
je 0x40b04a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40b04a
sbb eax, eax
or eax, 1
jmp 0x40b04c
xor eax, eax
test eax, eax
je 0x40b071
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.004dfec0
mov esi, dword [ebp - 0x6c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40aff3
jmp 0x40b098
sub edi, dword [ebp - 0x88]
cmp edi, 0xffffffff
je 0x40b098
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.00467d20
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 9
je 0x40b0d1
mov ecx, dword [ebp - 0x68]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40b0c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40aea2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x40aea2
mov dword [ebp - 0x19], 0x1003a4a
xor ecx, ecx
nop dword [eax + eax]
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 2
jb 0x40b120
lea edx, [ebp - 0x19]
mov byte [ebp - 0x16], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b138
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.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b2bf
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 0x40b190
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], 0x1003a4a
mov al, cl
add al, 0x65
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b1b3
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 0x40b1e0
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.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b249
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.00467d20
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xb
je 0x40b27e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b274
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push esi
call fcn.004dc6f1
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b112
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
jmp 0x40b112
mov esi, dword [ebp - 0x80]
mov edi, esi
cmp edi, dword [ebp - 0xa0]
je 0x40b2fe
nop dword [eax]
mov esi, dword [edi]
lea eax, [ebp - 0x4c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004655b0
mov edx, dword [ebp - 0xa8]
mov ecx, esi
call fcn.0040a290
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0xa0]
jne 0x40b2d0
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xb4]
call fcn.004677b0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40b339
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b32f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
test esi, esi
je 0x40b37e
mov ecx, dword [ebp - 0x84]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40b374
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b391
push ecx
push esi
call fcn.004dc6f1
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.004e1990
int3