Function at 0x4ddcd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4f7330
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [0x5f5ba0]
test eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
je 0x4de1fe
movzx esi, word [eax]
test si, si
je 0x4de1fe
mov ecx, dword [0x5f5ba8]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
test si, si
jne 0x4ddd70
jmp 0x4ddde3
mov word [ecx + edx*2], si
inc edx
mov dword [ebp - 0x5c], edx
movzx esi, word [eax]
test si, si
je 0x4ddde3
add eax, 2
cmp si, 9
je 0x4ddda0
cmp si, 0x20
je 0x4ddda0
cmp si, 0x22
jne 0x4ddda5
movzx esi, word [eax]
not bl
and bl, 1
test si, si
jne 0x4ddd70
jmp 0x4ddde3
test bl, 1
je 0x4ddde3
cmp edx, dword [ebp - 0x60]
jne 0x4ddd60
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x1e], si
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x64]
push 1
call fcn.0056fb00
add esp, 4
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
movzx esi, word [ebp - 0x1e]
mov ebx, dword [ebp - 0x28]
jmp 0x4ddd60
add eax, 2
movzx ecx, word [eax]
cmp cx, 0x20
je 0x4ddde0
cmp cx, 9
je 0x4ddde0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x50]
push edx
push eax
push ecx
call fcn.004e4fb0
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x3c]
jne 0x4dde27
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 5
call fcn.0056fba0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
lea ecx, [edx + edx*2]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
inc edx
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x50]
movsd qword [eax + ecx*4], xmm0
mov ecx, dword [0x5f5ba8]
mov dword [ebp - 0x38], edx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x4dde91
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
movzx eax, word [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov word [ecx + edx*2], ax
inc edx
mov dword [ebp - 0x2c], edx
mov eax, ebx
mov ebx, eax
movzx eax, word [edi]
test ax, ax
je 0x4de277
mov esi, edi
add edi, 2
cmp ax, 0x21
jg 0x4ddf60
cmp ax, 9
je 0x4ddebe
cmp ax, 0x20
jne 0x4ddff0
test bl, bl
jne 0x4ddff0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 2
push edx
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004e4fb0
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x3c]
jne 0x4ddf01
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 3
call fcn.0056fba0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
lea ecx, [edx + edx*2]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
inc edx
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x50]
movsd qword [eax + ecx*4], xmm0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], 0
jmp 0x4ddf43
add edi, 2
movzx eax, word [edi]
cmp ax, 0x20
je 0x4ddf40
cmp ax, 9
je 0x4ddf40
xor edx, edx
mov eax, ebx
jmp 0x4dde91
cmp ax, 0x22
je 0x4de01c
cmp ax, 0x5c
jne 0x4ddff0
movzx eax, word [edi]
xor esi, esi
inc esi
cmp ax, 0x5c
jne 0x4ddf8e
movzx eax, word [edi + 2]
add edi, 2
inc esi
cmp ax, 0x5c
je 0x4ddf80
cmp ax, 0x22
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x1e], bl
jne 0x4de04a
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov ecx, esi
shr ecx, 1
mov dword [ebp - 0x58], ecx
sub eax, edx
cmp eax, ecx
jae 0x4de080
mov eax, ecx
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push eax
call fcn.0056fb00
add esp, 4
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
jmp 0x4de08c
cmp edx, dword [ebp - 0x30]
jne 0x4dde84
mov word [ebp - 0x28], ax
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push 1
call fcn.0056fb00
add esp, 4
jmp 0x4dde70
mov al, 1
test bl, bl
je 0x4dde91
mov dword [ebp - 0x28], esi
mov esi, ecx
movzx ecx, word [edi]
cmp cx, 0x22
je 0x4de1ad
xor eax, eax
test cx, cx
mov ecx, esi
jne 0x4dde91
jmp 0x4de300
mov eax, dword [ebp - 0x30]
sub eax, edx
cmp eax, esi
mov eax, esi
jae 0x4de0a5
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push eax
call fcn.0056fb00
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
mov eax, dword [ebp - 0x54]
jmp 0x4de0ad
mov ecx, dword [ebp - 0x28]
cmp esi, 2
jb 0x4de151
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x54], 0x20
lea esi, [eax + edx*2]
mov dword [ebp - 0x28], eax
jae 0x4de106
mov eax, dword [ebp - 0x58]
mov ecx, esi
jmp 0x4de140
test eax, eax
je 0x4dde8c
lea esi, [ecx + edx*2]
cmp eax, 0x10
mov dword [ebp - 0x28], ecx
jae 0x4de0bc
mov ecx, esi
jmp 0x4de0f0
mov ebx, eax
and eax, 0xf
xor edi, edi
and ebx, 0xfffffff0
lea ecx, [esi + ebx*2]
nop dword [eax]
movups xmmword [esi + edi*2], xmm1
movups xmmword [esi + edi*2 + 0x10], xmm1
add edi, 0x10
cmp edi, ebx
jne 0x4de0d0
cmp dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x24]
mov bl, byte [ebp - 0x1e]
je 0x4de0fb
nop dword [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x4de0f0
add edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
jmp 0x4dde8c
mov eax, dword [ebp - 0x58]
xor edi, edi
mov ebx, eax
and eax, 0xf
and ebx, 0xfffffff0
lea ecx, [esi + ebx*2]
nop word cs:[eax + eax]
movups xmmword [esi + edi*2], xmm1
movups xmmword [esi + edi*2 + 0x10], xmm1
add edi, 0x10
cmp edi, ebx
jne 0x4de120
cmp dword [ebp - 0x58], ebx
mov edi, dword [ebp - 0x24]
mov bl, byte [ebp - 0x1e]
je 0x4de14b
nop dword [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x4de140
add edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x28]
test byte [ebp - 0x54], 1
mov eax, ebx
mov dword [ebp - 0x2c], edx
je 0x4dde91
xor eax, eax
cmp word [edi], 0
setne cl
cmp edx, dword [ebp - 0x30]
jne 0x4de19a
mov byte [ebp - 0x28], cl
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push 1
call fcn.0056fb00
add esp, 4
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x28]
xor eax, eax
mov al, cl
mov ecx, dword [ebp - 0x34]
lea edi, [edi + eax*2]
mov word [ecx + edx*2], 0x22
jmp 0x4dde8b
cmp edx, dword [ebp - 0x30]
jne 0x4de1dc
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push 1
call fcn.0056fb00
add esp, 4
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x5f5120]
mov bl, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov word [ecx + edx*2], 0x22
inc edx
mov dword [ebp - 0x2c], edx
cmp word [eax + 2], 0
lea eax, [eax + 4]
cmovne edi, eax
mov eax, ebx
jmp 0x4dde91
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x10], 0
call fcn.004ef380
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 1
jne 0x4de29f
mov ecx, dword [0x5f5b98]
cmp al, 3
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jne 0x4de2ab
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x10], 7
push eax
mov dword [ebp - 0x24], edx
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4de268
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0043c2a0
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0043c2a0
add esp, 0xc
jmp 0x4de2ab
test edx, edx
jne 0x4de300
test bl, bl
jne 0x4de300
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
test eax, eax
jne 0x4de35c
jmp 0x4de370
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 6
call fcn.0056fba0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
lea eax, [esi + esi*2]
inc esi
mov dword [edi + eax*4 + 8], ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax*4], xmm0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [esi + esi*2]
lea ecx, [edi + ecx*4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword fs:[0], edx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 2
push edx
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004e4fb0
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x3c]
jne 0x4de337
lea ecx, [ebp - 0x40]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.0056fba0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x24]
inc esi
mov dword [edi + eax*4 + 8], ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax*4], xmm0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
test eax, eax
je 0x4de370
test edx, edx
je 0x4de370
add eax, eax
je 0x4de370
push 2
push eax
push edx
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4de2da
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x4de2da
add eax, eax
je 0x4de2da
push 2
push eax
push ecx
call fcn.0043c2a0
add esp, 0xc
jmp 0x4de2da