Function at 0x5369f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ec97e
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
xor ebx, ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
push 0xd
xor edx, edx
push 0x5402b0c
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
call fcn.052e5800
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x8c], 0x104
jb 0x5369fe3
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x7c], eax
jmp 0x5369fe9
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], ecx
call fcn.05328e96
mov esi, eax
mov dword [ebp - 0x90], esi
call fcn.05328d50
push ebx
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.05328f8a
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x536a012
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x80]
call fcn.05328fb2
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0xa0], esp
push ebx
lea ecx, [ebp - 0x78]
mov dword [eax], esi
call fcn.05328f8a
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x536a03e
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x78]
call fcn.05328fb2
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.052ef110
add esp, 0xc
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x6d], al
mov byte [ebp - 4], 1
call fcn.05328f8a
mov eax, dword [esi + 4]
cmp eax, ebx
jbe 0x536a079
cmp eax, 0xffffffff
jae 0x536a079
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [ebp - 0x80]
and edi, esi
call fcn.05328fb2
cmp edi, ebx
je 0x536a09a
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
cmp byte [ebp - 0x6d], 0
je 0x536a9be
lea ecx, [ebp - 0x1ec]
push ecx
call fcn.052e1430
mov byte [ebp - 4], 3
push ebx
xor edx, edx
push 0x105
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.052e8e40
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x88]
push eax
push ecx
push 0x5402540
push ecx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x1ec]
push edx
call fcn.052ee5f0
add esp, 0xc
push eax
call fcn.052e8240
add esp, 0xc
push eax
call fcn.052e8240
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x8c], 0x104
call fcn.052e1510
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x536a12d
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x536a156
mov edx, dword [ebp - 0x30]
push edx
call fcn.053504e7
add esp, 4
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
cmp esi, ebx
jne 0x536a858
lea ebx, [ebx]
mov eax, dword [ebp - 0x4c]
mov edi, 8
mov dword [ebp - 0x8c], 0x104
cmp dword [ebp - 0x38], edi
jae 0x536a18a
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea edx, [ebp - 0x80]
push edx
mov edx, dword [ebp - 0x94]
push 0
lea ecx, [ebp - 0x8c]
push ecx
push eax
mov eax, dword [ebp - 0x74]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x536a6a1
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
cmp eax, dword [ecx + 4]
je 0x536a808
lea ecx, [ecx]
mov eax, dword [ebp - 0x88]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x536a1ea
mov edx, dword [eax]
mov dword [ebp - 0x84], edx
jmp 0x536a1f0
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x38], ecx
jb 0x536a1fd
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
jmp 0x536a203
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x78], ecx
call fcn.05328e96
mov esi, eax
mov dword [ebp - 0xb8], esi
call fcn.05328d50
push 0
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.05328f8a
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x536a230
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0xb4]
call fcn.05328fb2
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x98], esp
push 0
lea ecx, [ebp - 0xa0]
mov dword [eax], esi
call fcn.05328f8a
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x536a263
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0xa0]
call fcn.05328fb2
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.052ef110
add esp, 0xc
push 0
lea ecx, [ebp - 0x90]
mov bl, al
mov byte [ebp - 4], 4
call fcn.05328f8a
mov eax, dword [esi + 4]
test eax, eax
je 0x536a2a4
cmp eax, 0xffffffff
jae 0x536a2a4
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 0x90]
not edi
call fcn.05328fb2
and edi, esi
je 0x536a2c6
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
test bl, bl
je 0x536a681
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], 0
jae 0x536a2e4
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x74]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0
push 0
push eax
push edx
call ebx
mov esi, eax
cmp esi, 0xea
je 0x536a3b4
test esi, esi
je 0x536a3b4
lea eax, [ebp - 0x154]
push eax
call fcn.052e1430
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.052ed7c0
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x536a384
test byte [eax + 0x1c], 1
je 0x536a384
cmp byte [eax + 0x19], 2
jb 0x536a384
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x154]
call fcn.052e1510
or dword [ebp - 0x6c], 2
cmp dword [eax + 0x14], 8
jb 0x536a366
mov eax, dword [eax]
push esi
push eax
mov eax, dword [0x5419944]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push 0x53f9718
push 0x11
push ecx
push edx
call fcn.052ed660
add esp, 0x18
test byte [ebp - 0x6c], 2
je 0x536a3a0
and dword [ebp - 0x6c], 0xfffffffd
cmp dword [ebp - 0x1c], 8
jb 0x536a3a0
mov eax, dword [ebp - 0x30]
push eax
call fcn.053504e7
add esp, 4
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 4
call fcn.052e1350
jmp 0x536a681
mov edi, dword [ebp - 0x84]
xor eax, eax
lea ecx, [ebp - 0x6d]
push ecx
lea esi, [ebp - 0xb0]
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
call fcn.052edbc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x536a3f1
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0xb0]
lea edx, [ebp - 0x84]
push edx
mov edx, dword [ebp - 0x74]
push ecx
xor edi, edi
push edi
push edi
push eax
push edx
call ebx
mov esi, eax
cmp esi, edi
jne 0x536a55b
lea eax, [ebp - 0x154]
push eax
call fcn.052e1430
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0xb0]
lea eax, [ebp + eax - 0x154]
mov dword [eax + 0x14], 0x40
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.052e8240
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x154]
call fcn.052e1510
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jae 0x536a473
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x536a48d
push 1
mov eax, 0x5402540
lea esi, [ebp - 0x30]
call fcn.052ec780
cmp dword [ebp - 0x1c], edi
jb 0x536a49a
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x78], edx
jmp 0x536a4a0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, esi
call fcn.052eeed0
push eax
push esi
lea ebx, [ebp - 0x1f4]
call fcn.052ee8b0
cmp dword [ebp - 0x1c], edi
jb 0x536a4cf
mov edx, dword [ebp - 0x30]
push edx
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0x154]
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x98], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 9
lea esi, [ebp - 0x150]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.052e1da0
mov ecx, esi
call fcn.052e4c20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x104]
mov dword [ebp + edx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.05328c86
add esp, 4
xor edi, edi
jmp 0x536a658
lea ecx, [ebp - 0x154]
push ecx
call fcn.052e1430
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.052ed7c0
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x536a5cb
test byte [eax + 0x1c], 1
je 0x536a5cb
cmp byte [eax + 0x19], 2
jb 0x536a5cb
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x154]
call fcn.052e1510
or dword [ebp - 0x6c], 1
cmp dword [eax + 0x14], 8
jb 0x536a5ad
mov eax, dword [eax]
push esi
push eax
mov eax, dword [0x5419944]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push 0x53f9718
push 0x10
push ecx
push edx
call fcn.052ed660
add esp, 0x18
test byte [ebp - 0x6c], 1
je 0x536a5e7
and dword [ebp - 0x6c], 0xfffffffe
cmp dword [ebp - 0x1c], 8
jb 0x536a5e7
mov eax, dword [ebp - 0x30]
push eax
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x98], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0xb
lea esi, [ebp - 0x150]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.052e1da0
mov ecx, esi
call fcn.052e4c20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x104]
mov dword [ebp + edx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.05328c86
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb0]
cmp eax, edi
je 0x536a66f
push eax
call fcn.053504e7
add esp, 4
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp + 0x28]
add eax, 0x1c
mov dword [ebp - 0x88], eax
cmp eax, dword [ecx + 4]
jne 0x536a1d0
jmp 0x536a808
lea edx, [ebp - 0x154]
push edx
call fcn.052e1430
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.052ed7c0
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x536a710
test byte [eax + 0x1c], 1
je 0x536a710
cmp byte [eax + 0x19], 2
jb 0x536a710
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x154]
call fcn.052e1510
or dword [ebp - 0x6c], 4
cmp dword [eax + 0x14], edi
jb 0x536a6f2
mov eax, dword [eax]
push esi
push eax
mov eax, dword [0x5419944]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push 0x53f9718
push 0x12
push edx
push eax
call fcn.052ed660
add esp, 0x18
test byte [ebp - 0x6c], 4
je 0x536a72b
and dword [ebp - 0x6c], 0xfffffffb
cmp dword [ebp - 0x1c], edi
jb 0x536a72b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x98], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0xe
test byte [ebp - 0x110], 1
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x536a773
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
push eax
call fcn.053504e7
add esp, 4
mov eax, dword [ebp - 0x140]
mov dword [eax], 0
mov ecx, dword [ebp - 0x130]
mov dword [ecx], 0
mov edx, dword [ebp - 0x120]
mov dword [edx], 0
mov eax, dword [ebp - 0x13c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x11c]
mov dword [edx], 0
and dword [ebp - 0x110], 0xfffffffe
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x114], 0
call fcn.052e4c20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x104]
mov dword [ebp + ecx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.05328c86
add esp, 4
inc dword [ebp - 0x94]
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], 0x104
mov dword [ebp - 0x7c], 0
jae 0x536a82b
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea edx, [ebp - 0x80]
push edx
mov edx, dword [ebp - 0x94]
push 0
lea ecx, [ebp - 0x8c]
push ecx
push eax
mov eax, dword [ebp - 0x74]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x536a170
cmp dword [ebp - 0x38], 8
jb 0x536a86a
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.053504e7
add esp, 4
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x98], eax
mov dword [ebp + edx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [ebp - 0x1a8], 1
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0xb8], eax
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x536a8cc
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ecx]
push eax
call fcn.053504e7
add esp, 4
mov edx, dword [ebp - 0x1d8]
mov dword [edx], ebx
mov eax, dword [ebp - 0x1c8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x1d4]
mov dword [edx], ebx
mov eax, dword [ebp - 0x1c4]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], ebx
and dword [ebp - 0x1a8], 0xfffffffe
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x90], eax
cmp eax, ebx
je 0x536a97c
mov edi, dword [eax]
cmp edi, ebx
je 0x536a96d
push ebx
lea ecx, [ebp - 0x9c]
call fcn.05328f8a
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x536a949
cmp eax, 0xffffffff
jae 0x536a949
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x9c]
and esi, edi
call fcn.05328fb2
cmp esi, ebx
je 0x536a96d
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.053504e7
add esp, 4
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0xf
call fcn.05328fe3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x19c]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.05328c86
add esp, 4
xor ebx, ebx
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x536a9d4
mov edx, dword [ebp - 0x68]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
cmp dword [ebp + 0x1c], esi
jb 0x536a9f5
mov ecx, dword [ebp + 8]
push ecx
call fcn.053504e7
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret 0x24