Function at 0x409060
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43996a
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4510e0]
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
call fcn.00409d5c
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4090aa
push 0x80004005
call fcn.004022b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 4], 0
push 0x408e20
mov dword [ebp - 0x224], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x224], 0
lea eax, [ebp - 0x228]
jne 0x4090f3
push 0x449b78
jmp 0x4090f8
push 0x449bf0
push eax
call fcn.004073f0
mov esi, dword [ebp - 0x228]
add esp, 8
push 0x24
push 0x449c9c
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or ebx, 0xffffffff
cmp eax, 6
jne 0x4093d6
call fcn.00408ff0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x22c], 0
call fcn.00408c00
push 0x447ba4
push eax
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 1
call fcn.00409930
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409179
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00409d5c
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x409195
push 0x80004005
call fcn.004022b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.00408c90
push str.TENXWGuard
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x230]
push str._s_s_
push eax
call fcn.004073f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
add esp, 0x10
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4091f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.GlobalTouchEn_nxWeb_Setup_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x200
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0041d590
add esp, 0xc
lea eax, [ebp - 0x220]
push str.ZERODATA_IPCSIG
push 0x10
push eax
call fcn.0041c0d9
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0xffffffffffffffff
push 0
push 0
push 0x200
push eax
push str.ZERIDATA_MADIPCSLOT__FLOGMO_KSIL_TEWEBSE
mov dword [ebp - 0x200], 1
call fcn.0042f660
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00409d5c
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x409298
push 0x80004005
call fcn.004022b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
call fcn.00409d5c
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4092c1
push 0x80004005
call fcn.004022b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 1
push 1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x230]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x248], esp
mov edi, esp
push eax
mov dword [ebp - 0x238], eax
call fcn.004021d0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.004021d0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00403650
mov edi, dword [ebp - 0x23c]
test edi, edi
je 0x409343
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0x449cd0
push 0x449cf4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409377
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409393
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4093b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4093d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4093f4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0041bcb9
mov esp, ebp
pop ebp
ret