Function at 0x40cd10
Capabilities:
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 0x44ad7c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x810
mov eax, dword [0x47c068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x530], edx
mov edi, ecx
mov dword [ebp - 0x514], edi
lea eax, [ebp - 0x84]
mov dword [ebp - 0x514], edi
push eax
lea eax, [ebp - 0x510]
xor esi, esi
push eax
push esi
push 2
push str.InstallPath
push str.SOFTWAREValveSteam
mov dword [ebp - 0x53c], esi
push 0x80000002
mov dword [ebp - 0x84], 0x208
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x40cdc5
mov byte [edi + 0x18], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042c079
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], esi
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0042c087
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x48], eax
mov dword [eax], ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 2
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ce80
sub ecx, edx
mov dword [ebp - 0x8c], 0
sar ecx, 1
lea eax, [ebp - 0x510]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push eax
lea ecx, [ebp - 0x9c]
movups xmmword [ebp - 0x9c], xmm0
call fcn.00417930
or esi, 6
push 0x12
push str.libraryfolders.vdf
mov byte [ebp - 4], 3
call fcn.0042b6de
mov edx, eax
lea ecx, [ebp - 0x554]
call fcn.004073e0
or esi, 0x18
mov dword [ebp - 0x53c], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x52c]
mov byte [ebp - 0x514], 0
push dword [ebp - 0x514]
call fcn.0041d1b0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x56c]
call fcn.004116b0
lea eax, [ebp - 0x52c]
or esi, 0x80
push eax
lea ecx, [ebp - 0x56c]
mov dword [ebp - 0x53c], esi
call fcn.004077a0
lea eax, [ebp - 0x554]
push eax
lea edx, [ebp - 0x56c]
lea ecx, [ebp - 0x80]
call fcn.004081d0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x558]
cmp ecx, 8
jb 0x40cf98
mov edx, dword [ebp - 0x56c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cf8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da50
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 7
mov word [ebp - 0x56c], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x518]
cmp ecx, 8
jb 0x40cff9
mov edx, dword [ebp - 0x52c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cfef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da50
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 7
mov word [ebp - 0x52c], ax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x540]
cmp ecx, 8
jb 0x40d05a
mov edx, dword [ebp - 0x554]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d050
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da50
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x544], 0
push 0xb8
push eax
mov word [ebp - 0x554], ax
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 0x540], 7
call fcn.0042dab0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x188]
cmovae eax, dword [ebp - 0x80]
push eax
call fcn.0041af70
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.._AV__basic_ifstream__QU__char_traits__Q_std___std__.virtual_0], vtable.._AV__basic_ifstream__QU__char_traits__Q_std___std__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x68]
call fcn.00401a40
push 0x90
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.0042dab0
mov esi, dword [ebp - 0x530]
lea eax, [ebp - 0x69c]
add esp, 0xc
mov dword [ebp - 0x6a0], 0x40c980
mov ecx, eax
mov dword [ebp - 0x514], eax
push esi
call fcn.00401f20
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x684]
call fcn.00401f20
lea eax, [esi + 0x30]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x66c]
call fcn.00401f20
lea eax, [esi + 0x48]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x654]
call fcn.00401f20
lea eax, [esi + 0x60]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x63c]
call fcn.00401f20
mov eax, dword [ebp - 0x6a0]
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x69c]
push eax
call fcn.0040dd80
mov byte [ebp - 4], 0x12
cmp byte [ebp - 0xb8], 1
jne 0x40da4b
push str.libraryfolders
lea ecx, [ebp - 0x52c]
call fcn.004043c0
lea eax, [ebp - 0x52c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xd0]
call fcn.00410f80
mov edx, eax
cmp byte [edx + 0x18], 1
jne 0x40da4b
mov ecx, dword [ebp - 0x820]
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x620], ecx
lea ecx, [ebp - 0x61c]
push eax
call fcn.0040dd80
mov eax, dword [ebp - 0x620]
mov dword [ebp - 0x7a0], eax
mov eax, ecx
push eax
lea ecx, [ebp - 0x79c]
call fcn.0040dd80
mov eax, dword [ebp - 0x7a0]
mov dword [ebp - 0x71c], eax
mov eax, ecx
push eax
lea ecx, [ebp - 0x718]
mov dword [ebp - 0x720], edx
call fcn.0040dd80
lea ecx, [ebp - 0x79c]
call fcn.0040dc20
lea ecx, [ebp - 0x61c]
call fcn.0040dc20
mov eax, dword [ebp - 0x720]
lea ecx, [ebp - 0x618]
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x71c]
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x718]
push eax
call fcn.0040dd80
mov eax, dword [ebp - 0x620]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x61c]
mov dword [ebp - 0x228], eax
mov eax, ecx
movq qword [ebp - 0x238], xmm0
lea ecx, [ebp - 0x224]
push eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x230], 0
call fcn.0040dd80
lea ecx, [ebp - 0x618]
call fcn.0040dc20
lea ecx, [ebp - 0x718]
call fcn.0040dc20
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x518]
cmp ecx, 0x10
jb 0x40d304
mov edx, dword [ebp - 0x52c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d2fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da55
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 0xf
mov byte [ebp - 0x52c], 0
lea ecx, [ebp - 0x81c]
call fcn.0040dc20
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 0x17
call fcn.0040dc20
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x22c]
mov esi, dword [esi]
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.0040da70
cmp dword [eax], esi
jne 0x40d508
lea ecx, [ebp - 0x224]
mov byte [edi + 0x18], 0
call fcn.0040dc20
lea ecx, [ebp - 0xd0]
call fcn.00402290
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.._AV__basic_ifstream__QU__char_traits__Q_std___std__.virtual_0], vtable.._AV__basic_ifstream__QU__char_traits__Q_std___std__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x178]
call fcn.00410a70
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.._AV__basic_istream__QU__char_traits__Q_std___std__.virtual_0], vtable.._AV__basic_istream__QU__char_traits__Q_std___std__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x18c], eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042bc5c
mov ecx, dword [ebp - 0x6c]
add esp, 4
cmp ecx, 8
jb 0x40d432
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d428
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov ecx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp ecx, 8
jb 0x40d486
mov edx, dword [ebp - 0x9c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d47c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x40d4ba
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d4b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004021b0
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.0042c0bc
mov eax, dword [ebp - 0x4c]
add esp, 8
test eax, eax
je 0x40d4fb
push 8
push eax
call fcn.0042c0bc
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.00402290
jmp 0x40cda5
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.0040da70
mov edx, dword [eax]
mov eax, dword [eax + 4]
add edx, 0x10
push edx
mov ecx, dword [eax + 4]
add eax, 8
push eax
lea eax, [ebp - 0x308]
push eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x68]
call fcn.00401a40
mov byte [ebp - 4], 0x1a
cmp byte [ebp - 0x18c], 1
jne 0x40da4b
push str.AppState
lea ecx, [ebp - 0x52c]
call fcn.004043c0
lea eax, [ebp - 0x52c]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00410f80
push str.installdir
lea ecx, [ebp - 0x584]
mov esi, eax
call fcn.004043c0
mov byte [ebp - 4], 0x1c
cmp byte [esi + 0x18], 1
jne 0x40da4b
lea eax, [ebp - 0x584]
mov ecx, esi
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.004038a0
mov esi, dword [ebp - 0x530]
cmp byte [esi + 0xd], 0
jne 0x40da64
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00403900
test al, al
jne 0x40da64
add esi, 0x28
cmp byte [esi + 0x18], al
jne 0x40da4b
push esi
lea ecx, [ebp - 0xb4]
call fcn.00403aa0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x570]
cmp ecx, 0x10
jb 0x40d63b
mov edx, dword [ebp - 0x584]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d631
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5f
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x518]
cmp ecx, 0x10
jb 0x40d679
mov edx, dword [ebp - 0x52c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5f
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov byte [ebp - 0x530], 0
lea edx, [ebp - 0xb4]
push dword [ebp - 0x530]
lea ecx, [ebp - 0x56c]
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 0xf
mov byte [ebp - 0x52c], 0
call fcn.0041d7e0
add esp, 4
push 0x10
push str.steamappscommon
mov byte [ebp - 4], 0x20
call fcn.0042b6de
mov edx, eax
lea ecx, [ebp - 0x554]
call fcn.004073e0
lea eax, [ebp - 0x554]
mov byte [ebp - 4], 0x21
push eax
lea edx, [ebp - 0x308]
lea ecx, [ebp - 0x584]
call fcn.004081d0
add esp, 0xc
lea ecx, [ebp - 0x56c]
mov byte [ebp - 4], 0x22
push ecx
mov edx, eax
lea ecx, [ebp - 0x59c]
call fcn.004081d0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x588]
mov byte [edi + 0x18], 1
cmp ecx, 8
jb 0x40d787
mov edx, dword [ebp - 0x59c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d77d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x58c], 0
mov dword [ebp - 0x588], 7
mov word [ebp - 0x59c], ax
cmp ecx, 8
jb 0x40d7e8
mov edx, dword [ebp - 0x584]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d7de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x540]
mov dword [ebp - 0x574], 0
mov dword [ebp - 0x570], 7
mov word [ebp - 0x584], ax
cmp ecx, 8
jb 0x40d849
mov edx, dword [ebp - 0x554]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d83f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 7
mov word [ebp - 0x554], ax
cmp ecx, 8
jb 0x40d8aa
mov edx, dword [ebp - 0x56c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 7
mov word [ebp - 0x56c], ax
cmp ecx, 0x10
jb 0x40d905
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00402290
lea ecx, [ebp - 0x308]
call fcn.0040cc20
lea ecx, [ebp - 0x224]
call fcn.0040dc20
lea ecx, [ebp - 0xd0]
call fcn.00402290
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.._AV__basic_ifstream__QU__char_traits__Q_std___std__.virtual_0], vtable.._AV__basic_ifstream__QU__char_traits__Q_std___std__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x178]
call fcn.00410a70
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.._AV__basic_istream__QU__char_traits__Q_std___std__.virtual_0], vtable.._AV__basic_istream__QU__char_traits__Q_std___std__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x18c], eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x23
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042bc5c
mov ecx, dword [ebp - 0x6c]
add esp, 4
cmp ecx, 8
jb 0x40d9f8
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d9ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov ecx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp ecx, 8
jb 0x40d486
mov edx, dword [ebp - 0x9c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d47c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40da5a
jmp 0x40d47c
call fcn.00404280
call fcn.00430a9a
call fcn.00430a9a
call fcn.00430a9a
call fcn.00430a9a
push str.invalid_map_K__T__key
call fcn.0042afb8
int3