Function at 0x1001ef20
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10043ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1005b034]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x1005b034]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ebx
push 0x1001e2e0
mov byte [0x101774da], 1
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [esp + 0x64]
push eax
mov esi, str.CZZU______CZZU_____
call fcn.10025e00
mov dword [esp + 0x288], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0x288], 1
cmp dword [0x101731a8], 0x10
mov eax, dword [0x10173194]
jae 0x1001efde
mov eax, 0x10173194
mov ecx, eax
cmp dword [0x101731a8], 0x10
mov eax, dword [0x10173194]
jae 0x1001eff3
mov eax, 0x10173194
add eax, dword [0x101731a4]
push ecx
lea edx, [esp + 0x68]
push edx
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.10026c90
add esp, 0x10
test al, al
je 0x1001f8db
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [esp + 0x58]
jbe 0x1001f03b
lea eax, [esi + 0xc]
lea ecx, [esp + 0x240]
call fcn.10025f40
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x240]
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1cc], 0xf
call fcn.100031a0
mov byte [esp + 0x288], 4
cmp dword [esp + 0x254], 0x10
jb 0x1001f0a4
mov edx, dword [esp + 0x240]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov edi, 0xf
cmp eax, 2
mov dword [esp + 0x254], edi
mov dword [esp + 0x250], ebx
mov byte [esp + 0x240], bl
lea eax, [esp + 0x58]
jbe 0x1001f0e6
lea eax, [esi + 0x18]
lea ecx, [esp + 0x25c]
call fcn.10025f40
mov byte [esp + 0x288], 5
lea ecx, [esp + 0x25c]
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1e8], edi
call fcn.100031a0
mov esi, 0x10
mov byte [esp + 0x288], 7
cmp dword [esp + 0x270], esi
jb 0x1001f14f
mov edx, dword [esp + 0x25c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x1e4], esi
mov esi, dword [esp + 0x1d0]
mov edi, 0xf
mov dword [esp + 0x270], edi
mov dword [esp + 0x26c], ebx
mov byte [esp + 0x25c], bl
jae 0x1001f182
lea esi, [esp + 0x1d0]
lea eax, [esp + 0x14]
push eax
push 0xa
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCP100.dll__Stolx]
add esp, 0x10
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x24]
je 0x1001f6b8
cmp dword [esp + 0x14], ebx
jne 0x1001f8d0
xor edx, edx
cmp eax, 0x7fffffff
setg dl
xor ecx, ecx
cmp eax, 0x80000000
setl cl
cmp ecx, edx
jne 0x1001f8d0
mov ecx, dword [esp + 0x1c4]
cmp ecx, ebx
je 0x1001f63a
cmp dword [esp + 0x1e0], ebx
je 0x1001f63a
mov eax, dword [esp + 0x1b4]
mov esi, 0x10
cmp dword [esp + 0x1c8], esi
jae 0x1001f208
lea eax, [esp + 0x1b4]
push ecx
push eax
push 0x1017315c
call fcn.10007540
cmp eax, 0xffffffff
je 0x1001f63f
lea edx, [esp + 0x114]
push edx
mov ecx, 0x1017315c
call fcn.10025f60
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
mov byte [esp + 0x288], 9
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [esp + ecx + 0x118]
call dword [sym.imp.MSVCP100.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx ecx, al
push ecx
lea edx, [esp + 0x118]
push edx
lea ecx, [esp + 0x1f4]
call fcn.10007f40
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x1001f5aa
nop
mov eax, dword [esp + 0x1b4]
cmp dword [esp + 0x1c8], esi
jae 0x1001f2b7
lea eax, [esp + 0x1b4]
mov ecx, dword [esp + 0x1c4]
push ecx
push eax
lea edx, [esp + 0x1f4]
push edx
call fcn.10007540
cmp eax, 0xffffffff
je 0x1001f559
lea ecx, [esp + 0xcc]
mov dword [esp + 0x74], 0x1004fea0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
push ebx
lea eax, [esp + 0x8c]
mov byte [esp + 0x290], 0xa
or dword [esp + 0x24], 1
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [esp + 0x288], 0xb
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x84]
mov ecx, eax
mov dword [esp + edx + 0x74], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [esp + 0x288], 0xc
mov ecx, dword [esp + 0x1ec]
mov dword [esp + 0x84], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp dword [esp + 0x200], esi
jae 0x1001f366
lea ecx, [esp + 0x1ec]
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], 2
cmp eax, ebx
je 0x1001f399
push ecx
mov ebx, eax
lea esi, [esp + 0x88]
call fcn.1000c290
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
lea ecx, [esp + 0x20]
push ecx
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x230]
mov byte [esp + 0x294], 0xf
call fcn.10027060
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::ws_class_std::basic_istream_char__struct_std::char_traits_char____]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char_______cdecl___class_std::basic_istream_char__struct_std::char_traits_char_____]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
push 0xa
add ecx, esi
call dword [sym.imp.MSVCP100.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx edx, al
push edx
push esi
lea ecx, [esp + 0x210]
call fcn.10007f40
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, dword [esp + 0x20]
je 0x1001f6c3
cmp dword [esp + 0x21c], 0x10
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x1001f44d
mov ecx, dword [esp + 0x208]
push ecx
call esi
add esp, 4
cmp dword [esp + 0x238], 0x10
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
jb 0x1001f479
mov edx, dword [esp + 0x224]
push edx
call esi
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov edx, dword [ecx + 4]
lea eax, [esp + 0xcc]
mov dword [esp + 0x14], eax
mov dword [esp + edx + 0x74], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea eax, [esp + 0x84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x84], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x288], 0x13
test byte [esp + 0xc4], 1
je 0x1001f4df
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
push eax
call esi
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov edx, dword [esp + 0x98]
mov dword [edx], ebx
mov eax, dword [esp + 0xa8]
mov dword [eax], ebx
mov ecx, dword [esp + 0xb8]
mov dword [ecx], ebx
and dword [esp + 0xc4], 0xfffffffe
lea ecx, [esp + 0x84]
mov dword [esp + 0xc0], ebx
mov byte [esp + 0x288], 0x12
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov byte [esp + 0x288], 9
mov edx, dword [esp + 0x74]
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x74], ecx
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov esi, 0x10
mov edx, dword [esp + 0x114]
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0x118]
call dword [sym.imp.MSVCP100.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x1f4]
call fcn.10007f40
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx edx, al
add esp, 8
neg edx
sbb edx, edx
not edx
test ecx, edx
jne 0x1001f2a0
cmp dword [esp + 0x200], esi
jb 0x1001f5c4
mov eax, dword [esp + 0x1ec]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [esp + 0x114]
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
mov eax, dword [edx + 4]
lea ecx, [esp + 0x16c]
mov dword [esp + 0x18], ecx
mov dword [esp + eax + method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0x124]
mov byte [esp + 0x288], 0x14
call fcn.1000b8c0
mov byte [esp + 0x288], 7
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
lea ecx, [esp + 0x16c]
mov dword [esp + edx + 0x114], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x1001f63f
mov esi, 0x10
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x1e4], esi
jb 0x1001f661
mov edx, dword [esp + 0x1d0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x288], 1
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
cmp dword [esp + 0x1c8], esi
jb 0x1001f698
mov eax, dword [esp + 0x1b4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
mov dword [esp + 0x1c8], edi
xor ebx, ebx
jmp 0x1001efe0
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov byte [0x101774cd], 1
call fcn.10014f00
mov esi, 0x10
cmp dword [esp + 0x21c], esi
jb 0x1001f6ec
mov ecx, dword [esp + 0x208]
mov dword [0x101768d4], ecx
jmp 0x1001f6f9
lea edx, [esp + 0x208]
mov dword [0x101768d4], edx
mov dword [0x101768d0], str.by_XOR_BASIC
call fcn.10010300
push 0x1f40
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10009890
cmp dword [esp + 0x21c], esi
jb 0x1001f732
mov eax, dword [esp + 0x208]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
cmp dword [esp + 0x238], esi
jb 0x1001f761
mov ecx, dword [esp + 0x224]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov ecx, dword [eax + 4]
lea edx, [esp + 0xcc]
mov dword [esp + 0x18], edx
mov dword [esp + ecx + 0x74], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0x84]
mov byte [esp + 0x288], 0x10
call fcn.1000b8c0
mov byte [esp + 0x288], 9
mov edx, dword [esp + 0x74]
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x74], ecx
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [esp + 0x200], esi
jb 0x1001f7e4
mov edx, dword [esp + 0x1ec]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
mov edx, dword [ecx + 4]
lea eax, [esp + 0x16c]
mov dword [esp + 0x18], eax
mov dword [esp + edx + method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0x124]
mov byte [esp + 0x288], 0x11
call fcn.1000b8c0
mov byte [esp + 0x288], 7
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
mov edx, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov dword [esp + ecx + 0x114], edx
lea ecx, [esp + 0x16c]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [esp + 0x1e4], esi
jb 0x1001f873
mov eax, dword [esp + 0x1d0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
cmp dword [esp + 0x1c8], esi
jb 0x1001f8a2
mov ecx, dword [esp + 0x1b4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
cmp eax, ebx
je 0x1001f8c9
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [esp + 0x64]
push edx
jmp 0x1001f8f2
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1001f8ed
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x28c], 0xffffffff
call fcn.10025ea0
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret