Function at 0x403090
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x42bc82
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x438dd4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00412c8e
test eax, eax
jne 0x4030f7
push str.Fatal_Error:_MFC_initialization_failed_n
call fcn.00419b38
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x264
call fcn.00409958
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
cmp eax, esi
je 0x40311f
push eax
call fcn.004040e0
mov esi, eax
or ebx, 0xffffffff
mov ebp, 1
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebx
jle 0x4031e3
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + ebp*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00401ee0
mov dword [esp + 0x24], 1
cmp dword [esi + 0x258], 0
mov edi, dword [esp + 0x14]
jne 0x40319a
mov ecx, str.____
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403188
test dx, dx
je 0x403184
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403188
add eax, 4
add ecx, 4
test dx, dx
jne 0x403162
xor eax, eax
jmp 0x40318d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40319a
mov byte [esi + 0x220], 1
jmp 0x4031b1
mov eax, dword [esi + 0x258]
lea ecx, [esi + 0x250]
push edi
push eax
call fcn.00409ff0
mov edi, dword [esp + 0x14]
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x2c]
jl 0x403139
or ebx, 0xffffffff
mov ecx, esi
call fcn.00404e30
cmp byte [esi + 0x220], 0
jne 0x403226
mov ecx, dword [esi + 0x234]
cmp dword [ecx - 0xc], 0
je 0x403226
mov edx, dword [esi + 0x238]
cmp dword [edx - 0xc], 0
je 0x403226
mov ecx, esi
call fcn.00404aa0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0x224]
push eax
call fcn.00403490
push eax
call fcn.00403780
push 0x431238
mov ecx, esi
call fcn.004110fe
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.WScript
call fcn.00403300
mov dword [esp + 0x2c], 2
call fcn.00403490
push eax
mov dword [esp + 0x30], ebx
call fcn.00403610
mov eax, dword [esi + 0x230]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.004026f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x28], 3
call fcn.00403490
mov dword [esp + 0x28], ebx
mov ebx, eax
call fcn.00403a40
call fcn.00403490
mov esi, eax
lea ecx, [esi + 4]
call fcn.00412d3f
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
je 0x4032c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x48]
cmp eax, edi
je 0x4032d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4032e1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret