Function at 0x45c5a0
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4b1ca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x4b4b60], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4b4d58], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45c60f
cmp dword [ebp - 0x108], 2
jne 0x45c60f
cmp dword [ebp - 0x114], 5
ja 0x45c605
jne 0x45c60f
cmp dword [ebp - 0x110], 0
je 0x45c60f
mov dword [0x4b4d54], 1
push esi
push edi
call fcn.00445c10
mov dword [0x4b4c94], 0x43fae0
mov dword [0x4b4c84], 0x4268d0
mov dword [0x4b4c88], 0x426920
mov dword [0x4b4c8c], 0x427490
mov dword [0x4b4c90], 0x427540
mov dword [0x4b4c98], 0x426d70
mov dword [0x4b4ccc], 0x426d50
mov dword [0x4b4c9c], 0x426e60
mov dword [0x4b4cd0], 0x426e00
mov dword [0x4b4ca0], 0x426a90
mov dword [0x4b4cd4], 0x426a70
mov dword [0x4b4ca4], 0x426b80
mov dword [0x4b4cb0], 0x426ef0
mov dword [0x4b4cb4], 0x427100
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
movzx ecx, word [esi]
lea edx, [esi + 2]
cmp ecx, 0x22
je 0x45c6b7
mov edx, esi
xor eax, eax
cmp ecx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push edx
call fcn.004768c7
add esp, 8
test eax, eax
je 0x45c6d7
lea esi, [eax + 2]
mov ecx, esi
call fcn.00446350
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
push 2
push 0x104
call fcn.00478e79
add esp, 8
mov dword [0x4b4d20], eax
test eax, eax
je 0x45c931
push 0x104
push eax
push dword [0x4b4b60]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push dword [0x4b4d20]
call fcn.0047698e
add esp, 8
test eax, eax
je 0x45c919
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [0x4b4d20]
test ecx, ecx
je 0x45c931
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c740
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 0xb]
push eax
call fcn.00478e79
mov edx, dword [0x4b4d20]
add esp, 8
mov esi, eax
sub eax, edx
nop word [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x45c770
cmp word [esi], cx
je 0x45c7c3
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c790
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x45c7c3
lea edi, [esi - 2]
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45c7b0
mov eax, dword [0x4a285c]
mov dword [edi], eax
lea ecx, [esi - 2]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x45c7c6
mov eax, dword [str.stdrt.txt]
mov dword [ecx], eax
mov eax, dword [0x4a2bd4]
mov dword [ecx + 4], eax
mov eax, dword [0x4a2bd8]
mov dword [ecx + 8], eax
mov eax, dword [0x4a2bdc]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4a2be0]
push 0
mov dword [ecx + 0x10], eax
mov ecx, 0x4b4f98
push esi
push dword [0x4b4b60]
call fcn.0046b320
push esi
call fcn.00478e8f
add esp, 4
cmp dword [0x4b4d20], 0
je 0x45c931
push str.mmfs2.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp - 0x11c], edi
test edi, edi
je 0x45c931
mov ecx, dword [0x4b4d20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c846
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 0xb]
push eax
call fcn.00478e79
mov edx, dword [0x4b4d20]
add esp, 8
mov esi, eax
sub eax, edx
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x45c870
cmp word [esi], cx
je 0x45c8c9
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c890
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x45c8c9
lea edi, [esi - 2]
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45c8b0
mov eax, dword [0x4a285c]
mov dword [edi], eax
mov edi, dword [ebp - 0x11c]
lea edx, [esi - 2]
nop dword [eax]
mov ax, word [edx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x45c8d0
mov eax, dword [str.mmfs2.txt]
mov ecx, 0x4b4f98
mov dword [edx], eax
mov eax, dword [0x4a2bfc]
mov dword [edx + 4], eax
mov eax, dword [0x4a2c00]
mov dword [edx + 8], eax
mov eax, dword [0x4a2c04]
push 0
mov dword [edx + 0xc], eax
mov eax, dword [0x4a2c08]
push esi
push edi
mov dword [edx + 0x10], eax
call fcn.0046b320
push esi
call fcn.00478e8f
jmp 0x45c92e
push dword [0x4b4d20]
call fcn.00478e8f
mov dword [0x4b4d20], 0
add esp, 4
xor esi, esi
cmp dword [0x4b3a34], esi
jne 0x45c949
mov esi, dword [0x4b4d00]
test esi, esi
je 0x45c9fb
call fcn.00445cf0
test eax, eax
jne 0x45c9df
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
cmp dword [0x4b4d64], eax
jne 0x45c991
push str.krdp
call edi
movzx eax, ax
push str.kprc
mov dword [0x4b4d64], eax
call edi
movzx eax, ax
push str.kspc
mov dword [0x4b4d60], eax
call edi
movzx eax, ax
mov dword [0x4b4d6c], eax
push str.knum
call edi
movzx eax, ax
mov dword [0x4b4d68], eax
call fcn.00426440
test eax, eax
je 0x45c9fb
push 0
push dword [0x4b4b60]
call dword [sym.imp.MMFS2.dll_Ordinal_2]
mov ecx, eax
mov dword [0x4b4cf8], ecx
cmp ecx, 0x20
ja 0x45ca14
xor eax, eax
mov dword [0x4b4cf8], 0
cmp ecx, 1
setne al
lea eax, [eax*8 + 0xf]
test eax, eax
jle 0x45c9fb
test byte [0x4b4d12], 1
je 0x45c9fb
push ecx
mov ecx, dword [0x4b4b70]
mov edx, eax
call fcn.004471b0
add esp, 4
call fcn.004476a0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0047539e
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00403250
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45c9fb
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x4b3a38]
mov ecx, eax
mov dword [0x4b4b88], eax
push dword [0x4b4b5c]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
mov eax, dword [0x4b4b94]
test eax, eax
je 0x45ca82
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45ca82
test dword [eax], 0x40000000
je 0x45ca82
test byte [0x4b4b7c], 0x40
je 0x45ca82
mov ecx, dword [0x4b4b88]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x4b4b5c]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x4b3a38]
mov ecx, eax
mov dword [0x4b4b8c], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x4b4b90], 0
jne 0x45cad3
mov ecx, dword [0x4b4b8c]
test ecx, ecx
je 0x45cad3
push dword [0x4b4b70]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x4b4b90], eax
test eax, eax
je 0x45cad3
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.004069c0
test eax, eax
je 0x45caf4
nop
xor edx, edx
mov ecx, edi
call fcn.00406c80
test eax, eax
jne 0x45cae0
mov ecx, edi
call fcn.00406f80
mov ecx, edi
call fcn.00405870
jmp 0x45c9fb