Function at 0x4bcdd8
Capabilities:
Accept command line arguments
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd295
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53d698]
cmp byte [eax], 0
je 0x4bce16
push 0
call sub.ole32.dll_CoInitialize
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call sub.user32.dll_SetWindowPos
mov eax, dword [0x53d698]
cmp byte [eax], 0
jne 0x4bcef6
mov eax, dword [0x53da38]
cmp byte [eax], 0
jne 0x4bcef6
mov eax, dword [0x53db34]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [0x53db60]
sub eax, dword [ecx]
sbb edx, dword [ecx + 4]
cmp edx, 0
jne 0x4bce6c
cmp eax, 0x69780
jbe 0x4bcef6
jmp 0x4bce72
jle 0x4bcef6
mov eax, dword [0x53d8d4]
cmp byte [eax], 0
jne 0x4bcef6
lea edx, [ebp - 0x1c]
mov eax, dword [0x53db0c]
mov eax, dword [eax]
call fcn.00409668
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x53dd7c]
mov eax, dword [eax]
call fcn.00409668
mov edx, dword [ebp - 0x20]
pop eax
call fcn.004052a8
je 0x4bcef6
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
mov eax, 0x4bd2ac
call fcn.004a81a8
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
mov eax, 0x4bd2c8
call fcn.004a81a8
mov eax, 0x4bd2ac
call fcn.004bfc74
mov eax, 0x4bd2c8
call fcn.004bfc74
mov eax, 0xf
call fcn.004a81d8
mov eax, 0xf
call fcn.004bfe78
jmp 0x4bd265
mov eax, dword [0x53dafc]
mov eax, dword [eax]
call fcn.004491fc
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov dl, 1
call fcn.0044b0d4
mov eax, dword [0x53d698]
cmp byte [eax], 0
je 0x4bcf28
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov edx, ebx
call fcn.00448ccc
call fcn.004bcca8
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00405078
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [0x53dae4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4bd2d8
call fcn.004a81a8
mov eax, 0x4bd2d8
call fcn.004bfc74
mov dl, 1
mov eax, dword [0x4263e4]
call fcn.0042e3f8
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4bcfa2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4bd2e4
mov edx, dword [0x5407f8]
mov eax, dword [ebp - 0x18]
call fcn.0042e6a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bcfac
mov eax, dword [0x53d97c]
cmp dword [eax], 0
je 0x4bcfc0
call fcn.004bcd80
jmp 0x4bd265
call fcn.004a86dc
test al, al
je 0x4bd016
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
mov eax, 0x4bd2fc
call fcn.004a81a8
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
mov eax, 0x4bd2c8
call fcn.004a81a8
mov eax, 0x4bd2fc
call fcn.004bfc74
mov eax, 0x4bd2c8
call fcn.004bfc74
mov eax, 0xf
call fcn.004a81d8
mov eax, 0xf
call fcn.004bfe78
jmp 0x4bd265
push 0
push 0
call fcn.004a2e1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
xor edx, edx
mov eax, 0x4bd318
call fcn.00495e44
mov eax, dword [0x53d720]
mov eax, dword [eax]
call fcn.00405310
mov ebx, eax
push ebx
mov eax, dword [0x53d720]
push ebx
call sub.user32.dll_FindWindowA
mov ebx, eax
push ebx
call sub.user32.dll_IsWindow
test eax, eax
je 0x4bd094
lea eax, [ebp - 4]
push eax
push 0xbb8
push 3
push 0
push 0x1c20
push 0x478
push ebx
call sub.user32.dll_SendMessageTimeoutA
mov eax, dword [0x53d720]
mov eax, dword [eax]
call fcn.00405310
mov ebx, eax
push ebx
mov eax, dword [0x53d720]
push ebx
call sub.user32.dll_FindWindowA
push 0
push 0x4bcce0
call sub.user32.dll_EnumWindows
push 0xbb8
call sub.kernel32.dll_Sleep_2
lea edx, [ebp - 0x14]
mov eax, dword [0x53d720]
mov eax, dword [eax]
mov cl, 1
call fcn.004a64d8
mov ebx, eax
test ebx, ebx
je 0x4bd203
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x4bd203
mov ecx, dword [0x53d7fc]
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov edx, dword [0x4b53b8]
call fcn.00449214
mov eax, dword [0x53d7fc]
mov eax, dword [eax]
call fcn.004594c4
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x53d698]
cmp byte [eax], 0
je 0x4bd19b
mov eax, dword [0x53d674]
cmp byte [eax], 0
je 0x4bd14e
push 0
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.004033c8
mov eax, dword [ebp - 0x30]
call fcn.00405310
push eax
push 0
call sub.shell32.dll_ExtractIconA
mov edx, eax
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.0042e7f0
jmp 0x4bd1cb
mov eax, dword [ebp - 0x18]
call fcn.0042e538
test eax, eax
je 0x4bd17d
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00441d8c
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.00448c68
jmp 0x4bd1cb
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [eax + 0x288]
mov eax, dword [0x53dafc]
mov eax, dword [eax]
call fcn.00448c68
jmp 0x4bd1cb
push 0
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004033c8
mov eax, dword [ebp - 0x34]
call fcn.00405310
push eax
push 0
call sub.shell32.dll_ExtractIconA
mov edx, eax
mov eax, dword [0x53dafc]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.0042e7f0
mov eax, dword [0x53dafc]
mov eax, dword [eax]
xor edx, edx
call fcn.0044b0d4
mov edx, dword [0x53d724]
mov edx, dword [edx]
mov eax, dword [0x53dafc]
mov eax, dword [eax]
call fcn.00448c74
mov eax, dword [0x53dafc]
mov eax, dword [eax]
call fcn.0044934c
mov eax, dword [ebp - 0x18]
call fcn.00403edc
jmp 0x4bd231
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405078
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x4bd354
call fcn.004a81a8
mov eax, 0x4bd354
call fcn.004bfc74
push ebx
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
mov eax, 0x4bd2c8
call fcn.004a81a8
mov eax, 0x4bd2c8
call fcn.004bfc74
mov eax, 0xf
call fcn.004a81d8
mov eax, 0xf
call fcn.004bfe78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd29c
lea eax, [ebp - 0x3c]
call fcn.00404e80
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404ea4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404ea4
ret