Function at 0x41758c
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
cmp esi, edi
je 0x41764a
cmp word [esi], di
je 0x41764a
push edi
push 0x441ec6
lea eax, [ebp - 0x18]
push eax
call fcn.0042fcd4
mov dword [ebp - 4], eax
cmp eax, edi
jge 0x4175df
push 0x441ea2
push eax
call fcn.00430a6a
pop ecx
pop ecx
jmp 0x417dbb
push edi
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0042fcd4
mov dword [ebp - 4], eax
cmp eax, edi
jge 0x4175f8
push 0x441e84
jmp 0x4175d2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x41764a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x417620
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, edi
jl 0x41762e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x336
push 0x441952
call fcn.004315c0
push 0x43b746
push dword [ebp - 4]
jmp 0x4175d3
xor eax, eax
push ebx
inc eax
push 2
mov dword [ebp - 0x10], eax
pop ebx
cmp dword [ebp - 0x14], eax
jle 0x417d5f
mov esi, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CompareStringW]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 4
add esi, 4
mov eax, dword [esi]
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x417686
cmp ecx, 0x2f
jne 0x417d39
push 0xffffffffffffffff
push 0x441e80
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cfb
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e78
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cfb
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e74
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cf3
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e70
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cf3
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e66
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cf3
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e62
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417ce8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e56
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417ce8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e52
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417ce8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e44
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417ce8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e34
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4177b9
mov eax, dword [ebp + 8]
mov dword [eax + 4], 3
cmp dword [eax + 8], 0
jne 0x417d47
mov dword [eax + 8], 3
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e20
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4177e0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 1
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441e06
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417807
mov eax, dword [ebp + 8]
mov dword [eax + 8], 4
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441dea
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x41782a
mov eax, dword [ebp + 8]
mov dword [eax + 8], ebx
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441ddc
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4178a1
mov eax, dword [ebp + 8]
cmp dword [eax], 1
je 0x41784c
mov dword [eax], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x417d47
mov eax, dword [esi + 4]
movzx eax, word [eax]
cmp eax, 0x2d
je 0x417d47
cmp eax, 0x2f
je 0x417d47
mov eax, dword [ebp + 8]
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
push 3
add esi, 4
push dword [esi]
add eax, 0x20
push eax
call fcn.00430d7a
mov dword [ebp - 4], eax
test eax, eax
jns 0x417d47
push 0x441db2
jmp 0x417c72
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d9e
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4178d0
mov eax, dword [ebp + 8]
cmp dword [eax], 1
je 0x417d47
mov dword [eax], 3
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d90
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4178ff
mov eax, dword [ebp + 8]
cmp dword [eax], 1
je 0x417d47
mov dword [eax], 6
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d82
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x41792e
mov eax, dword [ebp + 8]
cmp dword [eax], 1
je 0x417d47
mov dword [eax], 5
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d72
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cd8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d64
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
je 0x417cd8
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d50
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417989
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x441d36
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x4179b4
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x417d47
mov dword [eax], ebx
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402f3c
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417a06
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x417dd2
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
push 0
add esi, 4
push dword [esi]
push dword [ebp + 0x28]
call fcn.0042fb1a
mov dword [ebp - 4], eax
test eax, eax
js 0x417dee
mov eax, dword [ebp + 0x24]
or dword [eax], 1
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402700
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417a63
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jge 0x417df8
mov eax, dword [ebp + 0x1c]
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
mov dword [eax], 3
mov eax, dword [ebp + 0xc]
add esi, 4
call fcn.00416f70
mov dword [ebp - 4], eax
test eax, eax
js 0x417e14
add dword [ebp - 0x10], ebx
add dword [ebp - 8], ebx
add dword [ebp - 0xc], ebx
add esi, 8
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x4026e0
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417ab5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jge 0x417e1e
mov eax, dword [ebp + 0x1c]
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
mov dword [eax], 1
mov eax, dword [ebp + 0xc]
add esi, 4
call fcn.00416f70
mov dword [ebp - 4], eax
test eax, eax
jns 0x417a52
push 0x441d0e
jmp 0x417c72
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402f5c
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417b07
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jge 0x417e3a
mov eax, dword [ebp + 0x14]
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
add esi, 4
call fcn.00416f70
mov dword [ebp - 4], eax
test eax, eax
jns 0x417a52
push 0x441ce8
jmp 0x417c72
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x40289c
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417b40
mov ecx, dword [ebp + 8]
push 0x441ce0
xor eax, eax
inc eax
push 0x20000003
mov dword [ecx + 0x1c], eax
push eax
call fcn.0040bfb2
add esp, 0xc
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402870
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417b6c
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ebx
push 0x441cd8
push 0x20000003
push 1
jmp 0x417b33
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402848
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417b95
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 3
push 0x441cd2
jmp 0x417b63
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402820
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417bbe
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 4
push 0x441ccc
jmp 0x417b63
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x402f0c
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417be4
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
jmp 0x417d47
mov eax, dword [esi]
push 0xffffffffffffffff
push 0x40268c
push 0xffffffffffffffff
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417c04
mov eax, dword [ebp + 0x14]
jmp 0x4178c5
push 0x402edc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, 0x402edc
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esi]
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417c81
push 0x402edc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [ecx + eax*2 + 2]
push 0x3d
pop ecx
cmp cx, word [eax]
jne 0x417e5d
add eax, 2
xor ecx, ecx
cmp cx, word [eax]
je 0x417e5d
push ecx
push eax
push dword [ebp + 0x2c]
call fcn.0042fb1a
mov dword [ebp - 4], eax
test eax, eax
jns 0x417d47
push 0x441c94
push dword [ebp - 4]
call fcn.00430a6a
pop ecx
pop ecx
jmp 0x417dab
mov eax, dword [esi]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x402ed0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x417d36
mov ebx, 0x402ed0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esi]
push 2
pop ebx
add eax, ebx
push eax
push 1
push 0x7f
call edi
cmp eax, ebx
jne 0x417d39
mov eax, dword [esi]
add eax, ebx
push eax
push 0xa0000002
jmp 0x417b68
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x417d47
mov dword [eax], 4
jmp 0x417d47
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
jmp 0x4177a3
mov eax, dword [ebp + 8]
jmp 0x417bd9
mov eax, dword [ebp + 0x24]
and dword [eax], 0xfffffffe
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x417e8d
inc dword [ebp - 0x10]
inc dword [ebp - 8]
inc dword [ebp - 0xc]
push 0
add esi, 4
push dword [esi]
push dword [ebp + 0x28]
call fcn.0042fb1a
mov dword [ebp - 4], eax
test eax, eax
jns 0x417d47
push 0x441c76
jmp 0x417c72
push 2
pop ebx
push dword [esi]
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.00430a7e
inc dword [ebp - 0x10]
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0xc]
add esi, 4
cmp eax, dword [ebp - 0x14]
jl 0x417673
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, 3
je 0x417ea9
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cmp eax, ebx
je 0x417d7f
cmp eax, 3
jne 0x417ea9
mov dword [ecx], 1
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
jne 0x417d94
mov dword [eax], 4
cmp dword [eax + 4], ecx
jne 0x417da0
mov dword [eax + 4], 4
cmp dword [eax + 8], ecx
jne 0x417dab
mov eax, dword [ebp + 8]
mov dword [eax + 8], ebx
cmp dword [ebp - 0x1c], 0
pop ebx
je 0x417dbb
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
pop edi
pop esi
je 0x417dcb
push dword [ebp - 0x18]
call fcn.0042eb62
mov eax, dword [ebp - 4]
leave
ret 0x28
mov esi, 0x80070057
push esi
push 0x3b2
push 0x441952
call fcn.004315c0
push 0x441c52
jmp 0x417e54
push 0x441c2c
jmp 0x417c72
mov esi, 0x80070057
push esi
push 0x3c0
push 0x441952
call fcn.004315c0
push 0x441bee
jmp 0x417e54
push 0x441bc8
jmp 0x417c72
mov esi, 0x80070057
push esi
push 0x3d0
push 0x441952
call fcn.004315c0
push 0x441b88
jmp 0x417e54
mov esi, 0x80070057
push esi
push 0x3e0
push 0x441952
call fcn.004315c0
push 0x441b4a
mov dword [ebp - 4], esi
push esi
jmp 0x417c75
mov esi, 0x80070057
push esi
push 0x412
push 0x441952
call fcn.004315c0
push 0x402edc
push 0x441b1e
push esi
mov dword [ebp - 4], esi
call fcn.00430a6a
add esp, 0xc
jmp 0x417dab
mov esi, 0x80070057
push esi
push 0x346
push 0x441952
call fcn.004315c0
push 0x441b00
jmp 0x417e54
cmp edx, ebx
jne 0x417d85
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
jmp 0x417d88