Function at 0x402fe0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x42bbc2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437dd4]
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.00412c3b
test eax, eax
jne 0x403047
push str.Fatal_Error:_MFC_initialization_failed_n
call fcn.00419ad2
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 0x268
call fcn.00409968
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
cmp eax, esi
je 0x40306f
push eax
call fcn.004040d0
mov esi, eax
or ebp, 0xffffffff
mov ebx, 1
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
jle 0x403134
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + ebx*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00401e80
mov dword [esp + 0x24], 1
cmp dword [esi + 0x25c], 0
mov edi, dword [esp + 0x14]
jne 0x4030eb
mov ecx, str.____
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4030d9
test dx, dx
je 0x4030d5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4030d9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4030b3
xor eax, eax
jmp 0x4030de
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4030eb
mov byte [esi + 0x220], 1
jmp 0x403102
mov eax, dword [esi + 0x25c]
lea ecx, [esi + 0x254]
push edi
push eax
call fcn.0040a000
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 0x403126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, dword [esp + 0x2c]
jl 0x403089
or ebp, 0xffffffff
mov ecx, esi
call fcn.00404e20
cmp byte [esi + 0x220], 0
jne 0x403177
mov ecx, dword [esi + 0x238]
cmp dword [ecx - 0xc], 0
je 0x403177
mov edx, dword [esi + 0x23c]
cmp dword [edx - 0xc], 0
je 0x403177
mov ecx, esi
call fcn.00404a90
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 + 0x22c]
mov ecx, dword [esi + 0x224]
push eax
push ecx
call fcn.004033f0
mov ebx, eax
call fcn.004036e0
push 0x430208
mov ecx, esi
call fcn.00411133
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.WScript
call fcn.00403260
mov dword [esp + 0x2c], 2
call fcn.004033f0
push eax
mov dword [esp + 0x30], ebp
call fcn.00403570
mov eax, dword [esi + 0x234]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x28], 3
call fcn.004033f0
mov ebx, eax
mov dword [esp + 0x28], ebp
call fcn.00403a20
call fcn.004033f0
mov esi, eax
lea ecx, [esi + 4]
call fcn.00412ceb
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
je 0x40321c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi + 0x48]
cmp eax, edi
je 0x40322b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x40323a
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