Function at 0x3005d96f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 1
lea eax, [ebp - 8]
push eax
call fcn.3014c948
push 0x3010f372
mov dword [0x301f9034], 0x3005c67f
call sub.MSVCR80.dll__set_purecall_handler
mov esi, dword [ebp + 8]
pop ecx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x300024fc
push 0x300024ec
push ebx
call fcn.3005bde5
push 1
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xfffffffffffffff2
push edi
call dword [sym.imp.USER32.dll_SetClassLongW]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call fcn.3005f09c
call fcn.3005fccf
test eax, eax
je 0x3005dc0e
call fcn.3005c558
or dword [ebp - 0xc], 0xffffffff
push esi
lea ecx, [ebp - 0x18]
call fcn.3005cf2b
push ebx
push dword [0x301b6ee0]
push dword [0x301b6edc]
call fcn.30064a94
test al, al
je 0x3005dbfd
call fcn.3005b3ae
push 0x3005b39a
push 0x3005b395
call fcn.30064b70
push 0xf3c
push 0xf00
call fcn.3005e399
call fcn.3005c644
test al, al
je 0x3005dbd0
call fcn.30065dc9
test al, al
je 0x3005dbd0
push dword [0x301b6ee0]
push dword [0x301b6edc]
call fcn.30103d6e
test al, al
je 0x3005dbd0
call fcn.3005cdda
test eax, eax
je 0x3005dbd0
call fcn.3005c889
test eax, eax
je 0x3005dbd0
call fcn.300ab854
test al, al
je 0x3005dbd0
call fcn.30067a79
call fcn.300e7c11
call fcn.3005c51a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
lea ecx, [ebp - 4]
call fcn.30148a97
push 1
push ebx
push 0x300024e4
lea ecx, [ebp - 4]
call fcn.301487e7
inc eax
neg eax
sbb eax, eax
inc eax
lea ecx, [ebp - 0x50]
mov dword [0x301adc58], eax
call fcn.3005ce43
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.3005d15f
lea ecx, [ebp - 0x30]
call fcn.3005d2e9
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x3005dafc
mov eax, dword [eax]
cmp word [eax], bx
je 0x3005dafc
push eax
lea ecx, [ebp - 0x30]
call fcn.3005d6ee
jmp 0x3005db25
push esi
lea ecx, [ebp - 0x30]
call fcn.3005d67e
jmp 0x3005db25
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
je 0x3005db2d
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + eax*4]
lea edx, [ebp - 0x50]
call fcn.3005d337
lea ecx, [ebp - 0x30]
call fcn.3005b39f
cmp byte [0x301b6d60], bl
je 0x3005db07
cmp byte [0x301b6d60], bl
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], 1
mov dword [ebp - 0x34], ebx
jne 0x3005db44
cmp byte [ebp - 0x3a], bl
jne 0x3005db4e
cmp dword [ebp - 0x40], ebx
jne 0x3005db9e
cmp dword [ebp - 0x2c], ebx
jne 0x3005db9e
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [ebp - 0x38]
call esi
cmp byte [0x301b6d60], bl
mov dword [ebp + 8], ebx
jne 0x3005db9e
push dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
call fcn.300ff4c9
test al, al
je 0x3005db90
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
call fcn.3005d337
push ebx
push dword [ebp - 0x38]
call esi
cmp byte [0x301b6d60], bl
je 0x3005db65
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x3005db9e
push 1
call fcn.3005b5eb
push dword [ebp - 0x2c]
mov dword [0x301b6d70], ebx
push dword [ebp - 0x30]
call fcn.3005c860
lea ecx, [ebp - 0x30]
call fcn.300fb423
lea ecx, [ebp - 0x50]
call fcn.3005ce8e
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x3005dbd0
add eax, 0xfffffff8
push eax
call fcn.301471a2
call fcn.3010cdbf
call fcn.3006a7cf
call fcn.30050c6b
call fcn.30076001
call fcn.300e7c24
call fcn.3005ed2b
call fcn.3005e3d2
call fcn.30065571
call fcn.30064ae9
cmp dword [ebp - 0xc], 0xffffffff
je 0x3005dc0e
cmp dword [ebp - 0x10], ebx
je 0x3005dc0e
push dword [ebp - 0xc]
call dword [ebp - 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10