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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d66b9
mov eax, dword fs:[0]
push eax
sub esp, 0x9c8
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9a4], ecx
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x9a4]
call fcn.0049073d
push 0
lea ecx, [ebp - 0x6c4]
call fcn.004cdee0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9a4]
lea edx, [ebp - 0x6c4]
mov dword [ecx + 0x20], edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x9a4]
call fcn.00490302
lea ecx, [ebp - 0x80]
call fcn.00405480
movzx ecx, al
cmp ecx, 1
jne 0x4d0d51
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 - 0x6f8]
call fcn.004023f0
mov byte [ebp - 4], 1
push str.Options
lea ecx, [ebp - 0x6fc]
call fcn.004023f0
push 0
lea ecx, [ebp - 0x6fc]
call fcn.00408f70
push eax
lea ecx, [ebp - 0x6f8]
call fcn.00408f70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x978], 0
lea ecx, [ebp - 0x6fc]
call fcn.00402e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6f8]
call fcn.00402e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c4]
call fcn.004cae50
mov eax, dword [ebp - 0x978]
jmp 0x4d12e7
lea ecx, [ebp - 0x6f4]
call fcn.004201a0
mov byte [ebp - 4], 2
push 0x4fdc44
lea ecx, [ebp - 0x54]
call fcn.004012d0
mov byte [ebp - 4], 3
push 0x4fcc9b
lea ecx, [ebp - 0x6e4]
call fcn.00401210
mov byte [ebp - 4], 4
push 0x4fccb3
lea ecx, [ebp - 0x38]
call fcn.00401210
mov byte [ebp - 4], 5
xor edx, edx
mov word [ebp - 0x6c8], dx
lea eax, [ebp - 0x6e4]
push eax
push 0x210
lea ecx, [ebp - 0x6f4]
call fcn.00420490
movzx ecx, al
test ecx, ecx
je 0x4d106c
lea edx, [ebp - 0x38]
push edx
push 0x1fe
lea ecx, [ebp - 0x6f4]
call fcn.00420490
movzx eax, al
test eax, eax
je 0x4d106c
lea ecx, [ebp - 0x8bc]
call fcn.0047d9c0
mov byte [ebp - 4], 6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x97c], esp
lea edx, [ebp - 0x6e4]
push edx
call fcn.00401250
mov dword [ebp - 0x9a8], eax
lea ecx, [ebp - 0x8bc]
call fcn.004c8050
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x980], esp
lea eax, [ebp - 0x38]
push eax
call fcn.00401250
mov dword [ebp - 0x9ac], eax
lea ecx, [ebp - 0x8bc]
call fcn.004055e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x984], esp
push 0x4fccbe
call fcn.00401210
mov dword [ebp - 0x9b0], eax
lea ecx, [ebp - 0x80]
call fcn.00405460
movzx ecx, al
push ecx
lea ecx, [ebp - 0x8bc]
call fcn.00405520
push 0x4fccbf
lea ecx, [ebp - 0x8d8]
call fcn.00401210
mov byte [ebp - 4], 7
lea edx, [ebp - 0x8d8]
push edx
lea ecx, [ebp - 0x8bc]
call fcn.0047da50
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 0
jne 0x4d104e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x988], esp
lea eax, [ebp - 0x8d8]
push eax
call fcn.00401250
mov dword [ebp - 0x9b4], eax
lea ecx, [ebp - 0x944]
call fcn.0047df00
mov dword [ebp - 0x9b8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9bc], ecx
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x990], esp
push edx
lea ecx, [ebp - 0x944]
call fcn.00405690
mov dword [ebp - 0x9c0], eax
lea eax, [ebp - 0x989]
push eax
mov ecx, dword [ebp - 0x9bc]
call fcn.00418dd0
mov dword [ebp - 0x9c4], eax
call fcn.00418fb0
lea ecx, [ebp - 0x54]
push ecx
push 0x4fdc48
call fcn.00405c10
add esp, 8
movzx edx, al
test edx, edx
je 0x4d0ff6
push 0x4fdc4c
lea ecx, [ebp - 0x54]
call fcn.004058d0
test eax, eax
je 0x4d0f7c
push 0x4fdc54
lea ecx, [ebp - 0x54]
call fcn.004058d0
test eax, eax
je 0x4d0f7c
push 0x4fdc5c
lea ecx, [ebp - 0x54]
call fcn.004058d0
test eax, eax
je 0x4d0f7c
push 0x4fdc64
lea ecx, [ebp - 0x54]
call fcn.004058d0
test eax, eax
jne 0x4d0f89
push 0x4fdc6c
lea ecx, [ebp - 0x54]
call fcn.004058b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x994], esp
lea eax, [ebp - 0x54]
push eax
call fcn.00403420
mov dword [ebp - 0x9c8], eax
call fcn.004c9750
add esp, 0x1c
mov word [ebp - 0x9ca], ax
mov cx, word [ebp - 0x9ca]
mov word [ebp - 0x6c8], cx
movzx edx, word [ebp - 0x6c8]
cmp edx, 0xc0a
jne 0x4d0fdb
mov eax, 0x40a
mov word [ebp - 0x6c8], ax
movzx ecx, word [ebp - 0x6c8]
cmp ecx, 0x816
jne 0x4d0ff6
mov edx, 0x416
mov word [ebp - 0x6c8], dx
lea ecx, [ebp - 0x948]
call fcn.00405d50
mov byte [ebp - 4], 9
movzx eax, word [ebp - 0x6c8]
push eax
push 0xae
call fcn.00405d40
push eax
lea ecx, [ebp - 0x948]
call fcn.00405800
test eax, eax
jne 0x4d1030
xor ecx, ecx
mov word [ebp - 0x6c8], cx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x948]
call fcn.00402e40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x944]
call fcn.00405650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d8]
call fcn.00401290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8bc]
call fcn.004055a0
movzx edx, word [ebp - 0x6c8]
test edx, edx
jne 0x4d10ee
lea eax, [ebp - 0x54]
push eax
push 0x211
lea ecx, [ebp - 0x6f4]
call fcn.004205c0
movzx ecx, al
test ecx, ecx
je 0x4d10e2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x998], esp
lea edx, [ebp - 0x54]
push edx
call fcn.00403420
mov dword [ebp - 0x9d0], eax
call fcn.004c9750
add esp, 0x1c
mov word [ebp - 0x9d2], ax
mov ax, word [ebp - 0x9d2]
mov word [ebp - 0x6c8], ax
movzx ecx, word [ebp - 0x6c8]
test ecx, ecx
jne 0x4d10e0
call fcn.004c9950
mov word [ebp - 0x6c8], ax
jmp 0x4d10ee
call fcn.004c9950
mov word [ebp - 0x6c8], ax
movzx edx, word [ebp - 0x6c8]
push edx
call fcn.004c9600
add esp, 4
mov ax, word [ebp - 0x6c8]
mov word [ebp - 0x44c], ax
mov dword [ebp - 0x10], 0
push 0x4fdc74
lea ecx, [ebp - 0x6e8]
call fcn.00402d20
mov byte [ebp - 4], 0xa
push 0x4fdc88
lea ecx, [ebp - 0x6ec]
call fcn.00402d20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.004012b0
push eax
lea ecx, [ebp - 0x6ec]
call fcn.00405720
lea ecx, [ebp - 0x6ec]
call fcn.00408f70
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 0x4d1217
lea ecx, [ebp - 0x38]
call fcn.004012b0
push eax
push 0x4d0b60
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x9a4]
mov dword [ecx + 0x20], 0
mov dword [ebp - 0x99c], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6ec]
call fcn.00402e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6e8]
call fcn.00402e40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6e4]
call fcn.00401290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6f4]
call fcn.00420250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c4]
call fcn.004cae50
mov eax, dword [ebp - 0x99c]
jmp 0x4d12e7
lea edx, [ebp - 0x974]
push edx
push str.32770
call fcn.00405d40
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
lea ecx, [ebp - 0x6e8]
call fcn.00408f70
mov dword [ebp - 0x950], eax
lea eax, [ebp - 0x974]
push eax
call fcn.0048e6ca
lea ecx, [ebp - 0x6c4]
call fcn.00488930
mov dword [ebp - 0x94c], 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 - 0x9a0], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6ec]
call fcn.00402e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6e8]
call fcn.00402e40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6e4]
call fcn.00401290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6f4]
call fcn.00420250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c4]
call fcn.004cae50
mov eax, dword [ebp - 0x9a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret