Function at 0x408150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4272bc
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
cmp dword [ecx + 0x90], 0
je 0x4083a0
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
lea ebx, [ecx + 0x80]
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0xa4], ebx
cmp eax, 0x15
jb 0x408dd9
cmp dword [ebx + 0x14], 7
mov eax, ebx
jbe 0x40820c
mov eax, dword [ebx]
push ecx
push eax
push 0x15
push str.SoftwareKugouPatch_
push ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x58]
call fcn.00409840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push ecx
cmova eax, dword [ebp - 0x58]
push 0x20019
push 0
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x80000001
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xbc], eax
call eax
test eax, eax
jne 0x408d56
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0
test eax, eax
je 0x408d56
lea eax, [ebp - 0x88]
push eax
push str.CurrPatchVersion
lea ecx, [ebp - 0xb8]
call fcn.0040b840
lea eax, [ebp - 0x28]
push eax
push str.NewPatchVersion
lea ecx, [ebp - 0xb8]
call fcn.0040b840
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4083be
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4082f4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4082ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x48], 0
test eax, eax
je 0x408319
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x408353
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408349
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp ecx, 7
jbe 0x4083a0
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408396
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f104
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x40848d
cmp eax, ecx
jne 0x40848d
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xcc]
call fcn.004063e0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004063e0
mov ecx, dword [ebp - 0xc8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xcc]
xor edi, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
test ebx, ebx
jle 0x408474
mov ecx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0x64]
sub ecx, esi
mov dword [ebp - 0xac], ecx
cmp dword [ecx + esi + 0x14], 7
lea eax, [ecx + esi]
jbe 0x408431
mov eax, dword [eax]
push eax
call fcn.0041863b
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x40844a
mov ecx, dword [esi]
push ecx
call fcn.0041863b
add esp, 4
cmp dword [ebp - 0xa8], eax
jl 0x408474
lea eax, [ebx - 1]
cmp eax, edi
je 0x40851f
mov ecx, dword [ebp - 0xac]
inc edi
add esi, 0x18
cmp edi, ebx
jl 0x408425
lea ecx, [ebp - 0x64]
call fcn.00408e00
lea ecx, [ebp - 0xcc]
call fcn.00408e00
mov ebx, dword [ebp - 0xa4]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4084cb
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4084c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0xb0], esi
test eax, eax
je 0x4084f8
push eax
call esi
xor edi, edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edi
mov byte [ebp - 4], 5
mov ecx, 0x7ffffffe
mov eax, dword [ebx + 0x10]
sub ecx, eax
cmp ecx, 0x15
jb 0x408dde
jmp 0x408537
lea ecx, [ebp - 0x64]
call fcn.00408e00
lea ecx, [ebp - 0xcc]
call fcn.00408e00
jmp 0x4082ba
cmp dword [ebx + 0x14], 7
jbe 0x40853f
mov ebx, dword [ebx]
push eax
push ebx
push 0x15
push str.SoftwareKugouPatch_
push ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x58]
call fcn.00409840
push 0x430190
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.004097c0
mov edx, eax
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [edx]
mov dword [ebp - 0x70], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0x60]
cmova edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0xa8], ecx
cmp ebx, eax
ja 0x40860d
cmp dword [ebp - 0x5c], 7
lea eax, [ebx + ecx]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x60], eax
cmova esi, dword [ebp - 0x70]
lea eax, [ebx + ebx]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.00410960
mov eax, dword [ebp - 0xa8]
add esp, 0xc
add eax, ebx
xor ecx, ecx
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x70]
jmp 0x408620
push ebx
push edx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x70]
push ebx
call fcn.00409b40
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4086a8
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40869e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408de3
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4086fa
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4086f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408de3
push ecx
push edx
call fcn.0040f14c
add esp, 8
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0xa4]
push ecx
push 0x20019
lea eax, [ebp - 0x40]
mov dword [ebp - 0xa4], 0
cmova eax, dword [ebp - 0x40]
push 0
push eax
push 0x80000001
call dword [ebp - 0xbc]
test eax, eax
jne 0x40873f
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], eax
test edi, edi
jne 0x408796
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40877d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408773
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x408319
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 4
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], 4
push eax
push 0
push 0x430194
push edi
mov esi, 5
mov dword [ebp - 0xa8], 0
call ebx
test eax, eax
jne 0x408800
mov eax, dword [ebp - 0xa4]
cmp eax, 4
je 0x4087f2
cmp eax, 3
jne 0x408800
cmp dword [ebp - 0xac], 4
cmove esi, dword [ebp - 0xa8]
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa8], 4
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], 4
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0
push eax
push 0
push str.AlreadyRunCount
push edi
call ebx
test eax, eax
jne 0x4088cb
mov eax, dword [ebp - 0xa8]
cmp eax, 4
je 0x408855
cmp eax, 3
jne 0x4088cb
cmp dword [ebp - 0xac], 4
mov ebx, dword [ebp - 0xc0]
jne 0x4088d1
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x7c], eax
cmp eax, esi
jl 0x4088d1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4088ab
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4088a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call dword [ebp - 0xb0]
jmp 0x408319
mov ebx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], 4
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 4
push eax
push 0
push str.Status
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408c73
mov eax, dword [ebp - 0xa8]
cmp eax, 4
je 0x40894a
cmp eax, 3
jne 0x408c73
cmp dword [ebp - 0xac], 4
jne 0x408c73
lea eax, [ebp - 0x58]
push eax
push str.PatchFile
lea ecx, [ebp - 0xb8]
call fcn.0040b840
test eax, eax
je 0x408a15
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4089ad
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4089e7
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], 7
test eax, eax
je 0x408319
push eax
call dword [ebp - 0xb0]
jmp 0x408319
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
push eax
push str.PatchHash
lea ecx, [ebp - 0xb8]
call fcn.0040b840
test eax, eax
jne 0x408ab0
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x70]
call fcn.00406120
push eax
lea ecx, [ebx + 4]
call fcn.00409180
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x408ab0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408aa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408de8
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov eax, dword [ebp - 0xa4]
lea ecx, [ebx + 0x1c]
mov dword [ebx], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408e80
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 0x34]
call fcn.00408e80
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00408e80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x64]
call fcn.00408e80
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x408b2b
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp ecx, 7
jbe 0x408b82
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x408bbc
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408bb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], 7
test eax, eax
je 0x408be1
push eax
call dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x408c1b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x408c6c
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov al, 1
jmp 0x4083a2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x408cad
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x408d02
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408cf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x4083a0
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408396
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
jmp 0x408396
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x408d8c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408d82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x408d02
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408cf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ded
jmp 0x408cf8
call fcn.0040118c
call fcn.0040118c
call fcn.00417f31
call fcn.00417f31
call fcn.00417f31
int3