Function at 0x42fdb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e8
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x2e4], eax
push esi
push edi
lea ecx, [esp + 0x54]
call fcn.004eca10
lea ecx, [esp + 0xc]
call fcn.0042fc00
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f13c0
mov edi, dword [esp + 0x14]
add esp, 8
test edi, edi
je 0x42fe31
push 0
lea ecx, [esp + 0x14]
call fcn.004f0599
mov eax, dword [edi + 4]
test eax, eax
jbe 0x42fe0f
cmp eax, 0xffffffff
jae 0x42fe0f
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x10]
and esi, edi
call fcn.004f05c1
test esi, esi
je 0x42fe31
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, dword [0x56e7e8]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x56e7e8]
mov dword [ecx + 0x14], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
lea ecx, [esp + 0xac]
call fcn.004dae50
lea ecx, [esp + 0xac]
push ecx
push 0x6c
call fcn.004dc710
mov edx, dword [0x56e7e8]
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
add esp, 8
call edx
xor ecx, ecx
mov word [esp + 0x3c], cx
mov ecx, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42feb1
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00401260
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xb4]
call fcn.004db270
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x42fef3
mov edx, dword [eax + 4]
jmp 0x42fef6
lea edx, [eax + 4]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ff12
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401260
push 7
push 0
push 0x4306c0
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xdc]
call fcn.004efa30
cmp dword [esp + 0x34], edi
jb 0x42ff5b
mov eax, dword [esp + 0x20]
push eax
call fcn.00501b8f
add esp, 4
xor ecx, ecx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call fcn.004dae70
cmp dword [esp + 0x50], edi
jb 0x42ff91
mov edx, dword [esp + 0x3c]
push edx
call fcn.00501b8f
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [0x56e7e8]
push eax
lea esi, [ecx + 0x28]
mov dword [ecx + 8], eax
call fcn.00414f70
mov eax, dword [0x56e7e8]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 1
lea ecx, [esp + 0x1b4]
call fcn.004d86a0
mov eax, dword [0x56e7e8]
lea edx, [esp + 0x1b0]
lea esi, [esp + 0x18]
mov dword [eax + 0x10], edx
call fcn.004306d0
mov edi, dword [0x56e7e8]
add edi, 0x24
call fcn.0040d4e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x56e7e8]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
test al, al
je 0x430074
mov ecx, dword [0x56e7e8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x430074
call fcn.00430270
test al, al
je 0x430074
mov ecx, dword [0x56e7e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x1b0]
test al, al
je 0x43007b
call fcn.004d9460
mov ecx, dword [0x56e7e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
call fcn.00430570
mov ecx, dword [0x56e7e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x1b0]
call fcn.004d8fa0
lea ecx, [esp + 0xc8]
call fcn.004ee810
lea ecx, [esp + 0xac]
call fcn.004dae70
cmp dword [esp + 0x10], 0
jl 0x4300a5
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp dword [esp + 0xc], 0
jl 0x4300b2
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x14]
call fcn.00408820
lea ecx, [esp + 0x54]
call fcn.004ecdb0
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00501b9a
mov esp, ebp
pop ebp
ret 0x10