Function at 0x4dfca0
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7a7a
mov eax, dword fs:[0]
push eax
sub esp, 0xa08
mov eax, dword [0x52d4d0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9e4], ecx
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call fcn.004941e4
add esp, 4
mov ecx, dword [ebp - 0x9e4]
call fcn.0049174f
push 0
lea ecx, [ebp - 0x704]
call fcn.004dcc40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9e4]
lea edx, [ebp - 0x704]
mov dword [ecx + 0x20], edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x9e4]
call fcn.00491314
lea ecx, [ebp - 0x80]
call fcn.00405ae0
movzx ecx, al
cmp ecx, 1
jne 0x4dfdcc
push str.Valid_program_options:_n_nmoreinfo__m____Enables_the_more_information_link_on_the_error_dialog_and_provides_additional_error_information._n_ndebuglog__l____Outputs_debug_http_information_to_the_file_HTTPOut.txt_in_the_current_directory._n_nhelp_______Displays_this_dialog._n_nNote_all_options_are_not_case_sensitive.
lea ecx, [ebp - 0x738]
call fcn.004023f0
mov byte [ebp - 4], 1
push str.Options
lea ecx, [ebp - 0x73c]
call fcn.004023f0
push 0
lea ecx, [ebp - 0x73c]
call fcn.00402270
push eax
lea ecx, [ebp - 0x738]
call fcn.00402270
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x9b8], 0
lea ecx, [ebp - 0x73c]
call fcn.00402e50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x738]
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x704]
call fcn.004d9fd0
mov eax, dword [ebp - 0x9b8]
jmp 0x4e0362
lea ecx, [ebp - 0x734]
call fcn.00420770
mov byte [ebp - 4], 2
push 0x5107f4
lea ecx, [ebp - 0x54]
call fcn.004012b0
mov byte [ebp - 4], 3
push 0x50f6eb
lea ecx, [ebp - 0x724]
call fcn.004011f0
mov byte [ebp - 4], 4
push 0x50f703
lea ecx, [ebp - 0x38]
call fcn.004011f0
mov byte [ebp - 4], 5
xor edx, edx
mov word [ebp - 0x708], dx
lea eax, [ebp - 0x724]
push eax
push 0x210
lea ecx, [ebp - 0x734]
call fcn.00420a60
movzx ecx, al
test ecx, ecx
je 0x4e00e7
lea edx, [ebp - 0x38]
push edx
push 0x1fe
lea ecx, [ebp - 0x734]
call fcn.00420a60
movzx eax, al
test eax, eax
je 0x4e00e7
lea ecx, [ebp - 0x8fc]
call fcn.0047dfa0
mov byte [ebp - 4], 6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9bc], esp
lea edx, [ebp - 0x724]
push edx
call fcn.00401230
mov dword [ebp - 0x9e8], eax
lea ecx, [ebp - 0x8fc]
call fcn.004d6d10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9c0], esp
lea eax, [ebp - 0x38]
push eax
call fcn.00401230
mov dword [ebp - 0x9ec], eax
lea ecx, [ebp - 0x8fc]
call fcn.00405c40
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9c4], esp
push 0x50f70e
call fcn.004011f0
mov dword [ebp - 0x9f0], eax
lea ecx, [ebp - 0x80]
call fcn.00405ac0
movzx ecx, al
push ecx
lea ecx, [ebp - 0x8fc]
call fcn.00405b80
push 0x50f70f
lea ecx, [ebp - 0x918]
call fcn.004011f0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x8fc]
call fcn.0047e030
mov dword [ebp - 0x740], eax
cmp dword [ebp - 0x740], 0
jne 0x4e00c9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9c8], esp
lea eax, [ebp - 0x918]
push eax
call fcn.00401230
mov dword [ebp - 0x9f4], eax
lea ecx, [ebp - 0x984]
call fcn.0047e4e0
mov dword [ebp - 0x9f8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9fc], ecx
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x9d0], esp
push edx
lea ecx, [ebp - 0x984]
call fcn.00405cf0
mov dword [ebp - 0xa00], eax
lea eax, [ebp - 0x9c9]
push eax
mov ebx, dword [ebp - 0x9fc]
call fcn.00419400
mov dword [ebp - 0xa04], eax
call fcn.004195e0
lea ecx, [ebp - 0x54]
push ecx
push 0x5107f8
call fcn.00406010
add esp, 8
movzx edx, al
test edx, edx
je 0x4e0071
push 0x5107fc
lea ecx, [ebp - 0x54]
call fcn.00405eb0
test eax, eax
je 0x4dfff7
push 0x510804
lea ecx, [ebp - 0x54]
call fcn.00405eb0
test eax, eax
je 0x4dfff7
push 0x51080c
lea ecx, [ebp - 0x54]
call fcn.00405eb0
test eax, eax
je 0x4dfff7
push 0x510814
lea ecx, [ebp - 0x54]
call fcn.00405eb0
test eax, eax
jne 0x4e0004
push 0x51081c
lea ecx, [ebp - 0x54]
call fcn.00404ee0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9d4], esp
lea eax, [ebp - 0x54]
push eax
call fcn.004032b0
mov dword [ebp - 0xa08], eax
call fcn.004d8410
add esp, 0x1c
mov word [ebp - 0xa0a], ax
mov cx, word [ebp - 0xa0a]
mov word [ebp - 0x708], cx
movzx edx, word [ebp - 0x708]
cmp edx, 0xc0a
jne 0x4e0056
mov eax, 0x40a
mov word [ebp - 0x708], ax
movzx ecx, word [ebp - 0x708]
cmp ecx, 0x816
jne 0x4e0071
mov edx, 0x416
mov word [ebp - 0x708], dx
lea ecx, [ebp - 0x988]
call fcn.00403660
mov byte [ebp - 4], 9
movzx eax, word [ebp - 0x708]
push eax
push 0xae
call fcn.00406380
push eax
lea ecx, [ebp - 0x988]
call fcn.00405e00
test eax, eax
jne 0x4e00ab
xor ecx, ecx
mov word [ebp - 0x708], cx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x988]
call fcn.00402e50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x984]
call fcn.00405cb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x918]
call fcn.00401270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8fc]
call fcn.00405c00
movzx edx, word [ebp - 0x708]
test edx, edx
jne 0x4e0169
lea eax, [ebp - 0x54]
push eax
push 0x211
lea ecx, [ebp - 0x734]
call fcn.00420b90
movzx ecx, al
test ecx, ecx
je 0x4e015d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9d8], esp
lea edx, [ebp - 0x54]
push edx
call fcn.004032b0
mov dword [ebp - 0xa10], eax
call fcn.004d8410
add esp, 0x1c
mov word [ebp - 0xa12], ax
mov ax, word [ebp - 0xa12]
mov word [ebp - 0x708], ax
movzx ecx, word [ebp - 0x708]
test ecx, ecx
jne 0x4e015b
call fcn.004d8610
mov word [ebp - 0x708], ax
jmp 0x4e0169
call fcn.004d8610
mov word [ebp - 0x708], ax
movzx edx, word [ebp - 0x708]
push edx
call fcn.004d82c0
add esp, 4
mov ax, word [ebp - 0x708]
mov word [ebp - 0x48c], ax
mov dword [ebp - 0x10], 0
push 0x510824
lea ecx, [ebp - 0x728]
call fcn.00402d30
mov byte [ebp - 4], 0xa
push 0x510838
lea ecx, [ebp - 0x72c]
call fcn.00402d30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00401290
push eax
lea ecx, [ebp - 0x72c]
call fcn.00405d80
lea ecx, [ebp - 0x72c]
call fcn.00402270
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4e0292
lea ecx, [ebp - 0x38]
call fcn.00401290
push eax
push 0x4dfbd0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x9e4]
mov dword [ecx + 0x20], 0
mov dword [ebp - 0x9dc], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x72c]
call fcn.00402e50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x728]
call fcn.00402e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x724]
call fcn.00401270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004012f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x734]
call fcn.00420820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x704]
call fcn.004d9fd0
mov eax, dword [ebp - 0x9dc]
jmp 0x4e0362
lea edx, [ebp - 0x9b4]
push edx
push str.32770
call fcn.00406380
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
lea ecx, [ebp - 0x728]
call fcn.00402270
mov dword [ebp - 0x990], eax
lea eax, [ebp - 0x9b4]
push eax
call fcn.0048ece3
lea ecx, [ebp - 0x704]
call fcn.00488ee0
mov dword [ebp - 0x98c], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9e0], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x72c]
call fcn.00402e50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x728]
call fcn.00402e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x724]
call fcn.00401270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004012f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x734]
call fcn.00420820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x704]
call fcn.004d9fd0
mov eax, dword [ebp - 0x9e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret