Function at 0x42d4e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x542040]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.00421f00
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x42d6cc
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x5310f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x42d719
push 0x531144
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d569
mov ecx, eax
call dword [0x53cee4]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
test ebx, ebx
je 0x42d66a
mov dword [ebp - 0x30], edi
cmp ebx, 0x15555556
jae 0x42d711
shl ebx, 2
lea esi, [ebx + ebx*2]
push esi
call fcn.0048d95d
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x34], ebx
jmp 0x42d5e3
cmp edx, esi
ja 0x42d6ec
test ecx, ecx
mov edi, dword [ebp - 0x28]
je 0x42d5d1
add ecx, ecx
push ecx
push esi
push eax
mov esi, edx
call fcn.00491320
mov edx, esi
add esp, 0xc
mov word [edx], 0
add edi, 0xc
mov ecx, dword [ebp - 0x38]
add ecx, 4
cmp ebx, ecx
je 0x42d662
test edi, edi
je 0x42d6f3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
mov esi, dword [eax + ecx]
test esi, esi
je 0x42d6fa
mov dword [ebp - 0x28], edi
push esi
call fcn.004a76c4
add esp, 4
cmp eax, 0x7ffffff8
jae 0x42d709
mov ecx, eax
cmp eax, 4
jbe 0x42d65a
mov ebx, ecx
or ebx, 3
inc ebx
js 0x42d6e0
mov edi, ecx
lea eax, [ebx + ebx]
push eax
call fcn.0048d95d
add esp, 4
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
or ebx, 0x80000000
mov dword [ecx + 8], ebx
mov dword [ecx + 4], edi
mov ebx, dword [ebp - 0x34]
mov ecx, edi
lea edx, [eax + ecx*2]
cmp eax, esi
ja 0x42d5b9
jmp 0x42d5b1
mov eax, dword [ebp - 0x28]
mov byte [eax + 0xb], cl
jmp 0x42d64a
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x30]
xor esi, esi
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.0042d110
mov dword [edi], esi
mov dword [edi + 4], esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42d691
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x42d6cc
mov edi, dword [ebp - 0x1c]
cmp edi, esi
je 0x42d6c3
add edi, 0xfffffff4
jmp 0x42d6b7
push dword [edi]
call fcn.0048d98d
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x42d6c3
test edi, edi
je 0x42d6e5
cmp byte [edi + 0xb], 0
js 0x42d6a4
jmp 0x42d6ae
push esi
call fcn.0048d98d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004bb3a0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x42d6ff
push str....._third_partylibc_srcinclude__stringchar_traits.h:222:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x42d6ff
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x42d6ff
push str....._third_partylibc_srcinclude_string:973:_assertion___s___nullptr_failed:_basic_string_const_char__detected_nullptr_n
push 0x524b41
call fcn.004bbec0
mov ecx, dword [ebp - 0x28]
call fcn.004bb270
lea ecx, [ebp - 0x20]
call fcn.004bb250
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x42d566