Function at 0x4094d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [esp], eax
mov dword [ebp - 0xb8], eax
call fcn.0041e810
mov dword [esp + 4], eax
mov ecx, 0x1c0
mov dword [esp + 8], ecx
mov dword [esp], 0x46de60
call sub.msvcrt.dll_memcpy
call dword [0x45d8a0]
mov edx, 0
test eax, eax
mov eax, dword [0x46a170]
cmovne edx, dword [0x46dfe4]
test eax, eax
mov dword [0x46dfe4], edx
jne 0x409971
call fcn.00412a00
test eax, eax
jle 0x40954d
mov esi, dword [0x46a010]
mov eax, 2
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.USER32.dll_KillTimer
sub esp, 8
mov ebx, dword [ebp - 0xb8]
xor esi, esi
mov ecx, 0x401310
mov dword [0x46a0b0], esi
xor edi, edi
xor esi, esi
mov dword [esp + 4], ecx
mov eax, 1
mov dword [esp], ebx
lea ebx, [ebp - 0x68]
mov dword [ebp - 0xac], edi
mov dword [0x46d2c0], eax
call fcn.00420c60
mov dword [esp + 4], esi
mov edx, 0x44
lea esi, [ebp - 0x78]
mov dword [esp + 8], edx
mov edi, esi
mov dword [esp], ebx
mov dword [ebp - 0xbc], eax
call sub.msvcrt.dll_memset
cld
xor eax, eax
mov dword [ebp - 0x68], 0x44
mov ecx, 4
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [esp + 0x20], ebx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
jne 0x409767
mov dword [esp], str.CreateProcess_failed.
call fcn.00428ae0
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xbc]
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x4098f8
mov eax, dword [ebp - 0xb8]
mov esi, 0x100c
mov ebx, 3
mov dword [esp], eax
call fcn.00414840
call fcn.00422990
mov dword [esp + 4], esi
mov edi, dword [0x46a030]
mov ecx, 3
mov dword [esp + 0xc], ecx
mov edx, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp], edi
mov edi, 0x1015
call fcn.0044e1c5
mov edx, dword [0x46a030]
sub esp, 0x10
mov ecx, 0x100c
mov dword [esp + 4], ecx
mov esi, eax
mov eax, 0xffffffff
mov dword [esp], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
call fcn.0044e1c5
mov ebx, dword [0x46a030]
sub esp, 0x10
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0044e1c5
mov dword [0x46d2c0], esi
sub esp, 0x10
call fcn.00413180
cmp eax, 6
je 0x409930
call fcn.00413180
cmp eax, 0xb
je 0x409930
call fcn.00407850
mov ebx, dword [0x46a010]
mov edi, 5
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.USER32.dll_ShowWindow
mov eax, dword [0x46a030]
sub esp, 8
mov dword [esp], eax
call sub.USER32.dll_SetFocus
mov ecx, dword [0x46a170]
sub esp, 4
test ecx, ecx
jne 0x409943
call fcn.00412a00
test eax, eax
jle 0x40975f
call fcn.00412a00
imul esi, eax, 0x3e8
mov ebx, dword [0x46a010]
xor edx, edx
mov dword [esp + 0xc], edx
mov edi, 2
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], esi
call sub.USER32.dll_SetTimer
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x46a010]
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.USER32.dll_ShowWindow
mov edx, dword [ebp - 0xb8]
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.00409350
call fcn.00412b00
test eax, eax
je 0x409990
lea edi, [ebp - 0xa4]
lea esi, [ebp - 0xa8]
mov dword [esp], edi
call sub.msvcrt.dll_time
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0xa8], ebx
lea ebx, [ebp - 0x98]
mov dword [esp + 4], esi
xor eax, eax
mov ecx, 0xff
mov dword [esp + 0x10], ecx
mov edx, 0xffffffff
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], 1
call sub.USER32.dll_MsgWaitForMultipleObjects
sub esp, 0x14
test eax, eax
je 0x40985b
dec eax
jne 0x40985b
lea esi, [esi]
lea edi, [edi]
mov dword [esp], ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], ecx
mov eax, 1
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
call fcn.0044e285
sub esp, 0x14
test eax, eax
je 0x4097c0
mov dword [esp], ebx
call sub.USER32.dll_TranslateMessage
sub esp, 4
mov dword [esp], ebx
call fcn.0044e255
mov edi, dword [ebp - 0xa8]
sub esp, 4
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
test eax, eax
jne 0x409800
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.dll_GetExitCodeProcess
sub esp, 8
lea ecx, [ebp - 0xb0]
mov dword [esp], ecx
call sub.msvcrt.dll_time
mov ebx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xac]
sub ebx, edx
push ebx
fild dword [esp]
add esp, 4
test esi, esi
je 0x409a2d
fstp st(0)
mov edx, dword [0x46a010]
mov ecx, 5
mov dword [esp + 4], ecx
mov dword [esp], edx
call sub.USER32.dll_ShowWindow
mov edi, dword [ebp - 0x78]
sub esp, 8
mov dword [esp], edi
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [ebp - 0x74]
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
mov esi, dword [ebp - 0xbc]
sub esp, 4
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x409637
mov ebx, dword [0x46a010]
mov edi, 5
xor esi, esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.USER32.dll_ShowWindow
mov dword [0x46d2c0], esi
sub esp, 8
call fcn.00413180
cmp eax, 6
jne 0x4096dc
nop
lea esi, [esi]
mov edx, dword [0x46a030]
mov dword [esp], edx
call fcn.004331f0
jmp 0x4096ea
mov esi, dword [0x46a010]
xor eax, eax
mov ecx, 0x64
mov dword [esp + 0xc], eax
mov edx, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sub.USER32.dll_SetTimer
sub esp, 0x10
jmp 0x409727
mov ebx, dword [0x46a010]
mov edi, 1
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.USER32.dll_KillTimer
sub esp, 8
jmp 0x40952a
mov dword [ebp - 0xa0], esi
xor eax, eax
lea edi, [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov dword [esp + 4], edi
mov dword [esp], 0x40e360
call sub.USER32.dll_EnumWindows
mov ebx, dword [ebp - 0x9c]
sub esp, 8
test ebx, ebx
je 0x40979d
mov dword [esp], ebx
mov ecx, 0xfffffff0
mov esi, 0x27
mov dword [esp + 4], ecx
call fcn.0044e225
sub esp, 8
mov edx, 0xfffffff0
and eax, 0xff7fffff
mov dword [esp + 4], edx
xor edi, edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0044e1f5
sub esp, 0xc
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], esi
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.USER32.dll_SetWindowPos
sub esp, 0x1c
jmp 0x40979d
fnstcw word [ebp - 0xb2]
mov eax, dword [ebp - 0xb8]
mov edi, 0x100c
movzx esi, word [ebp - 0xb2]
mov dword [esp], eax
or si, 0xc00
mov word [ebp - 0xb4], si
mov esi, 3
fldcw word [ebp - 0xb4]
fistp dword [esp + 4]
fldcw word [ebp - 0xb2]
call fcn.00414940
mov dword [esp + 4], edi
mov ebx, dword [0x46a030]
mov ecx, 3
mov dword [esp + 0xc], ecx
mov edx, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp], ebx
mov ebx, 0x1015
call fcn.0044e1c5
mov edx, dword [0x46a030]
sub esp, 0x10
mov ecx, 0x100c
mov dword [esp + 0xc], esi
mov edi, eax
mov eax, 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0044e1c5
mov esi, dword [0x46a030]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
jmp 0x4098a6