Function at 0x1004dc8
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1005354
call fcn.01003a58
push ecx
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
test edi, edi
pop ecx
jne 0x1004e03
push 0x1002614
jmp 0x100509d
push ebx
push esi
push edi
call fcn.010043c1
test eax, eax
jl 0x10050a7
xor ebx, ebx
cmp word [edi], bx
mov esi, edi
je 0x1004e31
xor eax, eax
mov ax, word [esi]
push eax
call fcn.01003f30
mov word [esi], ax
inc esi
inc esi
cmp word [esi], bx
jne 0x1004e1c
call fcn.01003eb7
cmp eax, ebx
jge 0x1004e4f
push eax
push 0x10025f4
push ebx
call dword [sym.imp.wbemcomn.dll_int___cdecl_ErrorTrace_char__char_const__]
add esp, 0xc
jmp 0x10050a7
push 0x10025dc
push edi
call fcn.0100404b
test eax, eax
jne 0x1005050
push 0x10025c4
push edi
call fcn.0100404b
test eax, eax
jne 0x1005050
push 0x10025a8
push edi
call fcn.0100404b
test eax, eax
jne 0x1004fec
push 0x100258c
push edi
call fcn.0100404b
test eax, eax
jne 0x1004fec
push 0x1002578
push edi
call fcn.0100404b
test eax, eax
jne 0x1004ec2
cmp dword [0x10073ac], ebx
jne 0x1004ec2
push 0x1002560
call dword [sym.imp.msvcrt.dll_printf]
jmp 0x10050a6
call fcn.01003f17
cmp eax, ebx
mov dword [ebp - 0x10], eax
jge 0x1004ed9
push eax
push 0x1002540
jmp 0x1004e40
mov esi, dword [0x1007054]
mov ebx, 0x1007054
jmp 0x1004f28
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x1004f06
push dword [esi + 0xc]
mov ecx, eax
call fcn.0100444a
jmp 0x1004f08
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x1004f56
lea ecx, [esi + 0x1c]
push ecx
push 1
push 0x15
push eax
push dword [esi + 8]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
cmp eax, edi
jl 0x1004f61
mov esi, dword [esi]
cmp esi, ebx
jne 0x1004ee6
cmp dword [0x10073ac], 0
mov edi, dword [sym.imp.wbemcomn.dll_int___cdecl_ErrorTrace_char__char_const__]
je 0x1004f6d
call fcn.01004214
test eax, eax
mov dword [ebp - 0x10], eax
jge 0x1004f7d
push eax
push 0x1002524
push 0
call edi
add esp, 0xc
jmp 0x1004f7d
push 0x1002614
push edi
jmp 0x100509f
push eax
push 0x1002500
push edi
jmp 0x1004e41
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x100705c], eax
call fcn.0100406d
mov esi, dword [0x1007054]
jmp 0x1004faa
push dword [esi + 0x1c]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
test eax, eax
mov dword [ebp - 0x14], eax
jge 0x1004fa8
push eax
push 0x10024e0
push 0
call edi
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov esi, dword [esi]
cmp esi, ebx
jne 0x1004f85
xor eax, eax
cmp dword [ebp - 0x10], eax
jl 0x10050a7
push 0x100439f
push 0x3e8
push eax
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0100406d
call fcn.01003ec6
test eax, eax
jge 0x10050a7
push eax
push 0x10024c0
push 0
call edi
jmp 0x1004e47
call fcn.01003f07
cmp eax, ebx
mov edi, dword [sym.imp.wbemcomn.dll_int___cdecl_ErrorTrace_char__char_const__]
jge 0x1005007
push eax
push 0x10024a0
push ebx
call edi
add esp, 0xc
mov esi, dword [0x1007054]
mov ebx, 0x1007054
jmp 0x1005032
push 1
lea eax, [esi - 4]
push eax
call fcn.01004c12
test eax, eax
jge 0x1005030
push eax
push 0x1002480
push 0
call edi
add esp, 0xc
mov esi, dword [esi]
cmp esi, ebx
jne 0x1005014
cmp dword [0x10073ac], 0
je 0x10050a7
call fcn.01004318
test eax, eax
jge 0x10050a7
push eax
push 0x1002460
jmp 0x1004fe3
call fcn.01003ef7
cmp eax, ebx
jge 0x1005064
push eax
push 0x1002444
jmp 0x1004e40
mov esi, dword [0x1007054]
mov ebx, 0x1007054
jmp 0x1005082
push 1
lea eax, [esi - 4]
push eax
call fcn.01004924
test eax, eax
jl 0x10050b8
mov esi, dword [esi]
cmp esi, ebx
jne 0x1005071
cmp dword [0x10073ac], 0
je 0x10050a7
call fcn.01004266
test eax, eax
jne 0x10050a7
push 0x100242c
push 0
call dword [sym.imp.wbemcomn.dll_int___cdecl_ErrorTrace_char__char_const__]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
push eax
push 0x1002410
push 0
jmp 0x1004e41