Function at 0x40d9d0
Capabilities:
Encode data using xor
Hash data with md5
Query or enumerate registry value

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 0x51e46b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x6b8
push esi
push edi
mov dword [ebp - 0xb4], ecx
mov esi, 0x20019
call fcn.0040c190
movaps xmm0, xmmword [0x543f80]
test eax, eax
mov ecx, 0x20119
cmovne esi, ecx
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
nop dword [eax + eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 7
jb 0x40da30
mov dword [0x558510], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40da62
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402b20
mov dword [ebp - 4], 0
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0xcc], xmm0
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dab0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00402b20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x40dafe
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40daf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e63b
push ecx
push edx
call fcn.004f7c11
add esp, 8
movaps xmm0, xmmword [0x5455c0]
xor ecx, ecx
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x50], 0
movaps xmm0, xmmword [str.lcwgw_p]
mov dword [ebp - 0x84], 0xbda1889d
mov dword [ebp - 0x80], 0x7671798d
movups xmmword [ebp - 0x7c], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x94], al
inc ecx
cmp ecx, 0x1f
jb 0x40db31
mov dword [0x558518], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x75], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db70
sub ecx, edx
lea eax, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402b20
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x50]
push ecx
push esi
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x30]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x40dbe6
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dbd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e627
push ecx
push edx
call fcn.004f7c11
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x40dcf5
movaps xmm0, xmmword [0x543880]
xor ecx, ecx
mov dword [ebp - 0x48], 0x20019
mov dword [ebp - 0x54], 0x400
mov dword [ebp - 0x28], 0x868e8da6
movups xmmword [ebp - 0x24], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0xb
jb 0x40dc10
mov dword [0x5584e0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dc42
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402b20
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x6c8]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x30]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x40dcbd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dcb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e62c
push ecx
push edx
call fcn.004f7c11
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x40dcec
lea ecx, [ebp - 0x6c8]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dcd0
sub ecx, edx
lea eax, [ebp - 0x6c8]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0047f6a0
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [0x543f80]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 7
jb 0x40dd02
mov dword [0x558510], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dd34
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402b20
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmovae edx, dword [ebp - 0x44]
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dd73
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402b20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40ddbe
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ddb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e63b
push ecx
push edx
call fcn.004f7c11
add esp, 8
push 0x7c
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.004f9bf0
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
je 0x40de09
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ddf0
sub ecx, edx
lea eax, [ebp - 0x2c4]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0047f6a0
lea ecx, [ebp - 0x178]
call fcn.0040d280
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov byte [ebp - 0x1e], 0xb4
xor ecx, ecx
movq qword [ebp - 0x1d], xmm0
mov byte [ebp - 0x15], 0
nop dword [eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 1
jb 0x40de30
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40de70
sub ecx, edx
lea eax, [ebp - 0x1e]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402b20
push 0x12
mov byte [ebp - 4], 7
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
push 0
cmovae eax, dword [ebp - 0x12c]
push 0
push 0x52a500
mov dword [ebp - 0xb0], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
cmp eax, 0xffffffff
jne 0x40dee4
xorps xmm0, xmm0
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
jmp 0x40def5
push ecx
mov edx, eax
lea ecx, [ebp - 0x144]
call fcn.0040d080
add esp, 4
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov byte [ebp - 0x1e], 0xb4
xor ecx, ecx
movq qword [ebp - 0x1d], xmm0
mov byte [ebp - 0x15], 0
nop dword [eax + eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 1
jb 0x40df10
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x104], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x100], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df50
sub ecx, edx
lea eax, [ebp - 0x1e]
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.00402b20
mov byte [ebp - 4], 9
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x100], 0x10
xorps xmm0, xmm0
mov byte [ebp - 0x1e], 0xb4
cmovae eax, dword [ebp - 0x114]
xor ecx, ecx
mov dword [ebp - 0x54], eax
movq qword [ebp - 0x1d], xmm0
mov byte [ebp - 0x15], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 1
jb 0x40df96
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0xfc], xmm0
mov dword [ebp - 0xec], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xe8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dfd1
sub ecx, edx
lea eax, [ebp - 0x1e]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.00402b20
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 0x10
cmovae edx, dword [ebp - 0xfc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e007
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp - 0xbc]
sub eax, esi
cmp eax, ecx
jb 0x40e631
cmp dword [ebp - 0xb8], 0x10
lea eax, [ebp - 0xcc]
push ecx
cmovae eax, dword [ebp - 0xcc]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xac]
call fcn.00487550
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
mov edx, dword [ebp - 0x9c]
cmovae ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0x5c]
sub eax, edx
mov dword [ebp - 0x48], edx
push edi
push ecx
cmp edi, eax
ja 0x40e0b0
cmp dword [ebp - 0x98], 0x10
lea esi, [ebp - 0xac]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
lea eax, [esi + edx]
push eax
call fcn.004f9670
mov ecx, dword [ebp - 0x48]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0xac]
jmp 0x40e0c3
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0xac]
push dword [ebp - 0x48]
push edi
call fcn.004859b0
mov esi, dword [ebp - 0x6c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
push dword [ebp - 0x54]
call fcn.0047f7d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x15c]
call fcn.00487360
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xe
call fcn.0047f7d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xe4]
call fcn.00487360
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40e1d9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e1cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x148]
cmp ecx, 0x10
jb 0x40e217
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e20d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x40e26d
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e263
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40e2a5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e29b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x40e2f5
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e2eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0x10
jb 0x40e34e
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e344
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x100]
cmp ecx, 0x10
jb 0x40e38c
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e382
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x130]
cmp ecx, 0x10
jb 0x40e3ca
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e3c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x118]
cmp ecx, 0x10
jb 0x40e408
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e3fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x40e446
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e43c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e636
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp dword [ebp - 0xd0], 0x10
lea eax, [ebp - 0xe4]
push dword [ebp - 0xd4]
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x248]
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
push eax
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x248], 0x67452301
mov dword [ebp - 0x244], 0xefcdab89
mov dword [ebp - 0x240], 0x98badcfe
mov dword [ebp - 0x23c], 0x10325476
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x1ac], 0
call fcn.0049b7e0
push ecx
lea ecx, [ebp - 0x248]
call fcn.0049b8b0
cmp byte [ebp - 0x1ac], 0
je 0x40e51d
movups xmm0, xmmword [ebp - 0x19b]
mov al, byte [ebp - 0x17b]
mov byte [ebp - 0x70], al
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [ebp - 0x18b]
movups xmmword [ebp - 0x80], xmm0
mov edi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x90]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e540
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
mov ecx, edi
call fcn.00402b20
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x40e592
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e63b
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
cmp eax, 0x10
jb 0x40e5dc
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40e5d2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e63b
push ecx
push esi
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x40e612
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e608
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e63b
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
call fcn.004fceb0
call fcn.00402390
call fcn.004fceb0
call fcn.004fceb0
int3