Function at 0x403720
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8bc
mov eax, dword [0x443350]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x8c4], eax
xor eax, eax
xor ebx, ebx
mov word [esp + 0xc0], bx
mov ecx, 0x1ff
lea edi, [esp + 0xc2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3ff
lea eax, [esp + 0xc4]
push eax
push str.guid
mov ecx, esi
call fcn.0040d8f0
mov dword [esp + 0x10], eax
mov word [esp + 0x28], bx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
push 0x1f
lea ecx, [esp + 0x2c]
push ecx
push str.room
mov ecx, esi
stosw word es:[edi], ax
call fcn.0040d8f0
mov ebx, dword [sym.imp.MSVCR71.dll__wtoi]
lea edx, [esp + 0x28]
push edx
call ebx
mov dword [0x4433f8], eax
add esp, 4
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
push 0x1f
lea eax, [esp + 0x2c]
push eax
push str.srcid
mov ecx, esi
call fcn.0040d8f0
lea ecx, [esp + 0x28]
push ecx
call ebx
add esp, 4
push 0x1f
mov dword [esp + 0x10], eax
mov dword [0x443808], eax
lea edx, [esp + 0x2c]
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x2c]
push edx
rep stosd dword es:[edi], eax
push str.parent_id
mov ecx, esi
call fcn.0040d8f0
lea eax, [esp + 0x28]
push eax
call ebx
push 0
mov dword [0x443800], eax
call fcn.00418700
add esp, 8
test al, al
je 0x403854
mov ecx, dword [esp + 0xc]
mov edx, dword [0x443800]
mov eax, dword [0x4433f8]
push ecx
push edx
push eax
push 0x433f0c
push 0x19a
push str..TVShow.cpp
push 0
call fcn.00418720
add esp, 0xc
push eax
call fcn.00418950
add esp, 0x14
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor ecx, ecx
mov dword [esp + 0x19], ecx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
lea edx, [esp + 0x68]
mov esi, eax
mov word [esp + 0x25], cx
push edx
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x2b], cl
call fcn.0040ca30
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.0040d340
xor eax, eax
mov ah, byte [esp + 0x1e]
mov ecx, esi
and ecx, 0xff00
mov edx, esi
shl edx, 0x10
add ecx, edx
shl ecx, 8
add ecx, eax
mov edx, esi
shr edx, 0x18
add ecx, edx
push 4
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0040d340
push 0x10
lea edx, [esp + 0x88]
push 0x433b8c
push edx
call fcn.0040d340
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0040d400
push 0
call fcn.00418700
add esp, 0x34
test al, al
je 0x403931
push 0x433f04
push 0x1ac
push str..TVShow.cpp
push 0
call fcn.00418720
add esp, 0xc
push eax
call fcn.00418950
add esp, 8
push 0x402aa0
push 0x402820
push 0x403160
push fcn.00403240
push 0x402e10
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.launch.dll_InitLaunch]
add esp, 0x20
test al, al
jne 0x403979
xor eax, eax
mov ecx, dword [esp + 0x8c4]
call fcn.00426448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
mov ecx, dword [esp + 0x8c4]
mov dword [0x4433ec], eax
mov eax, 1
mov dword [0x4433e8], eax
call fcn.00426448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret