Function at 0x415ccf
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1ac
xor ecx, ecx
cmp dword [0x496e94], ecx
jne 0x415cec
or eax, 0xffffffff
jmp 0x4169b2
xor eax, eax
push ebx
or dword [ebp + 0x50], 0xffffffff
push esi
push edi
mov dword [ebp + 0x38], ecx
mov esi, dword [ebp + 0x78]
lea edi, [ebp + 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp + 0x60], ecx
lea edi, [ebp + 0x64]
stosd dword es:[edi], eax
mov byte [ebp + 0x5f], al
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov ax, word [eax]
xor ebx, ebx
cmp dword [ebp + 0x74], 2
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x30], ecx
mov dword [ebp], ebx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0xc], ecx
mov word [ebp + 0x1c], ax
mov dword [0x495298], 0xfa0
mov dword [ebp + 0x20], ecx
jne 0x415e14
push str.__version
push dword [esi + 4]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x415e1e
mov eax, dword [0x496e98]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
je 0x415d90
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp + 8]
push ecx
call eax
lea ecx, [ebp + 0x28]
call fcn.0042c3f7
push 0x3f
lea eax, [ebp + 0x28]
push eax
push 1
call fcn.0040e3ff
add esp, 0xc
cmp eax, 2
mov ecx, 0x4837e8
jne 0x415db7
mov ecx, str.NotLoad
cmp eax, 0xffffffff
jne 0x415dc1
mov ecx, str.CannotControl
movzx eax, byte [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
shrd ecx, eax, 8
shr eax, 8
movsx eax, cx
push eax
movzx eax, byte [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 8]
shrd ecx, eax, 8
shr eax, 8
movsx eax, cx
push eax
mov eax, dword [ebp + 0x7c]
push str._X._X___X._X__s
push dword [eax]
mov dword [ebp + 0x34], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp + 0x28]
call fcn.0042704a
jmp 0x4169ad
cmp dword [ebp + 0x74], 1
jle 0x416480
mov ebx, 0x3e8
xor edi, edi
dec dword [ebp + 0x74]
add esi, 4
push str.__id
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x415e46
or dword [ebp + 0x20], 2
jmp case.0x41606a.114
push str.__nbrd
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x415e61
or dword [ebp + 0x20], 1
jmp case.0x41606a.114
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x415e7d
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x415e7f
xor eax, eax
cmp eax, edi
je case.0x41606a.114
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x41605e
je 0x416033
cmp eax, 0x62
jg 0x415fbb
je 0x415efb
sub eax, 0x44
je 0x416007
dec eax
dec eax
je 0x415fdb
sub eax, 0xc
je 0x416007
dec eax
je 0x415edc
sub eax, 0xe
jne case.0x41606a.114
mov dword [ebp + 0x24], 1
jmp case.0x41606a.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0046d8f6
push edi
push edi
push dword [esi]
call fcn.0046d8df
mov dword [ebp + 0x4c], eax
jmp 0x41646b
add esi, 4
push str.auto
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x415f1c
mov dword [ebp + 4], 1
jmp 0x41646e
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x60]
push eax
push str._I64u_c
push dword [esi]
mov dword [ebp + 0x54], edi
call fcn.0046d6b3
movzx eax, word [ebp + 0x54]
add esp, 0x10
cmp eax, 0x62
jg 0x4164aa
je 0x415fa3
sub eax, edi
je 0x41646e
sub eax, 0x47
je 0x415f73
sub eax, 4
je 0x415f94
dec eax
dec eax
je 0x415f85
sub eax, 7
jne 0x416509
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x64]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x415f79
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x64], ecx
jmp 0x415f88
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x64]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x415f9a
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x415fb0
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x64]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ecx
jmp 0x41646e
sub eax, 0x64
je 0x416007
dec eax
je 0x415ffb
dec eax
je 0x415fdb
sub eax, 6
jne case.0x41606a.114
mov dword [ebp + 0x24], 3
jmp case.0x41606a.114
cmp cx, 0x46
jne 0x415fe8
mov dword [ebp + 0x14], 1
add esi, 4
push dword [esi]
call fcn.0040ce49
pop ecx
mov dword [ebp + 0x30], eax
jmp 0x41646e
mov dword [ebp + 0x24], 4
jmp case.0x41606a.114
cmp cx, 0x44
mov dword [ebp + 0x24], 2
jne 0x41601b
mov dword [ebp + 0x2c], 1
cmp cx, 0x52
jne case.0x41606a.114
xor eax, eax
inc eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x34], eax
jmp case.0x41606a.114
add esi, 4
mov ecx, dword [esi]
mov ax, word [ecx]
cmp ax, 0x61
mov dword [ebp], ecx
jb 0x41646e
cmp ax, 0x7a
ja 0x41646e
and ax, 0xffdf
mov word [ecx], ax
jmp 0x41646e
sub eax, 0x6e
cmp eax, 0xb
ja case.0x41606a.114
jmp dword [eax*4 + 0x4169b7]
mov dword [0x495298], 1
jmp case.0x41606a.114
add esi, 4
push str.file
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41609e
or byte [ebp + 0x69], 1
jmp 0x41646e
push 0x48374c
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x4160b9
or byte [ebp + 0x69], 2
jmp 0x41646e
push str.proxy
push dword [esi]
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41646e
or byte [ebp + 0x69], 3
jmp 0x41646e
mov dword [ebp + 0x28], 1
jmp case.0x41606a.114
add esi, 4
push 0x481318
push dword [esi]
jmp 0x416250
push 0x483738
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416111
or dword [ebp + 0x58], 1
or dword [ebp + 0x68], 1
jmp 0x416249
push 0x483730
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41612f
or dword [ebp + 0x58], 1
and dword [ebp + 0x68], 0xfffffffe
jmp 0x416249
push 0x483728
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41614d
or dword [ebp + 0x58], 2
or dword [ebp + 0x68], 2
jmp 0x416249
push 0x483720
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41616b
or dword [ebp + 0x58], 2
and dword [ebp + 0x68], 0xfffffffd
jmp 0x416249
push str.saved
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416189
or byte [ebp + 0x5a], 1
and byte [ebp + 0x6a], 0xfe
jmp 0x416249
cmp dword [ebp + 0x24], 1
jne 0x416249
push 0x48370c
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x4161b4
or byte [ebp + 0x69], 0x20
mov dword [ebp + 0x14], 1
jmp 0x416249
push str.comm
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x4161d2
or byte [ebp + 0x69], 0x10
mov dword [ebp + 0x14], 1
jmp 0x416249
push 0x4836f8
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x4161e9
or byte [ebp + 0x69], 0x30
jmp 0x416249
push 0x4836f0
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416200
or byte [ebp + 0x69], 0x11
jmp 0x416249
test byte [ebp + 0x68], 0xf0
jne 0x416249
push 0x4836e8
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x41621d
or dword [ebp + 0x68], 0x10
jmp 0x416249
push 0x4836e0
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416234
or dword [ebp + 0x68], 0x20
jmp 0x416249
push 0x4836d8
push edi
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416249
or dword [ebp + 0x68], 0x30
push 0x481318
push 0
call fcn.0046d60e
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4160f3
dec dword [ebp + 0x74]
jmp case.0x41606a.114
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x38]
push eax
add esi, 4
push str._I64i_c
push dword [esi]
mov dword [ebp + 0x54], edi
call fcn.0046d6b3
movzx eax, word [ebp + 0x54]
add esp, 0x10
cmp eax, 0x54
jg 0x41631e
je 0x4162e1
sub eax, edi
je 0x416398
sub eax, 0x25
je 0x4162b9
sub eax, 0x22
je 0x4162f0
sub eax, 4
je 0x41630f
dec eax
dec eax
jne 0x416509
mov eax, dword [ebp + 0x38]
jmp 0x416300
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push edi
push dword [ebp - 0x14]
call fcn.0046d500
push edi
push 0x64
push edx
push eax
call fcn.0046d380
jmp 0x416380
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x4162f6
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x38]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x3c], ecx
mov ecx, dword [ebp + 0x3c]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x3c], ecx
jmp 0x416312
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x416392
sub eax, 0x62
je 0x416385
sub eax, 5
je 0x41634d
sub eax, 4
je 0x416373
dec eax
dec eax
je 0x416360
sub eax, 7
jne 0x416509
push edi
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
call fcn.0046d500
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], edx
push edi
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
call fcn.0046d500
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], edx
push edi
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
call fcn.0046d500
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], edx
push edi
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
call fcn.0046d500
mov dword [ebp + 0x3c], edx
jmp 0x416395
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x3c], edi
jg 0x41646e
jl 0x4163ac
cmp dword [ebp + 0x38], edi
jae 0x41646e
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x34]
add dword [ebp + 0x38], eax
adc dword [ebp + 0x3c], edi
js 0x4163d0
jg 0x41646e
cmp dword [ebp + 0x38], edi
jae 0x41646e
xor ecx, ecx
cmp ecx, 0x100
mov edi, 0x400
mov esi, 0x100000
mov edx, 0x40000000
jb 0x416528
ja 0x4163f7
test eax, eax
jb 0x416528
mov ebx, 0x4836c4
jmp 0x416558
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0046d8f6
push edi
push edi
push dword [esi]
call fcn.0046d8df
mov dword [ebp + 0x48], eax
jmp 0x41646b
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0046d8f6
push edi
push edi
push dword [esi]
call fcn.0046d8df
mov dword [ebp + 0x44], eax
jmp 0x41646b
add esi, 4
mov eax, dword [esi]
mov al, byte [eax]
sub al, 0x30
mov byte [ebp + 0x5f], al
jmp 0x41646e
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
jmp 0x41646e
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0046d8f6
push edi
push edi
push dword [esi]
call fcn.0046d8df
mov dword [ebp + 0x50], eax
add esp, 0x10
dec dword [ebp + 0x74]
cmp dword [ebp + 0x74], 1
jg 0x415e25
mov ebx, dword [ebp]
xor ecx, ecx
mov eax, dword [ebp + 0x24]
dec eax
mov dword [ebp + 0x54], ecx
je 0x4166b4
dec eax
je 0x4166a3
dec eax
je 0x416655
dec eax
je 0x416601
or eax, 0xffffffff
jmp 0x4169af
sub eax, 0x67
je 0x4164d0
sub eax, 4
je 0x4164f6
dec eax
dec eax
je 0x4164e3
sub eax, 7
jne 0x416509
push edi
push ebx
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0046d500
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push edi
push ebx
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0046d500
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push edi
push ebx
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0046d500
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push edi
push ebx
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0046d500
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
movzx eax, word [ebp + 0x54]
push eax
push str.ImDisk:_Unsupported_size_suffix:__wc_n
push 0x495830
call fcn.0046cf5d
add esp, 0xc
push 0xa
pop eax
jmp 0x4169af
cmp eax, edx
jb 0x416533
mov ebx, 0x483698
jmp 0x416558
cmp eax, esi
jb 0x41653e
mov ebx, 0x483694
jmp 0x416558
cmp eax, edi
jb 0x416549
mov ebx, 0x483690
jmp 0x416558
cmp eax, 1
mov ebx, str.byte
je 0x416558
mov ebx, 0x483680
cmp ecx, 0x100
jb 0x41657e
ja 0x416566
test eax, eax
jb 0x41657e
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x416576
fadd qword [0x483678]
fmul qword [0x483670]
jmp 0x4165e2
cmp eax, edx
jb 0x41659a
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x416592
fadd qword [0x483678]
fmul qword [0x483668]
jmp 0x41657c
cmp eax, esi
jb 0x4165b6
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x4165ae
fadd qword [0x483678]
fmul qword [0x483660]
jmp 0x41657c
cmp eax, edi
jb 0x4165d2
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x4165ca
fadd qword [0x483678]
fmul qword [0x483658]
jmp 0x41657c
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x4165e2
fadd qword [0x483678]
push ebx
push ecx
push ecx
fstp qword [esp]
push str.ImDisk:_Not_enough_memory__there_is_currently__.4g__s_free_physical_memory._n
push 0x495830
call fcn.0046cf5d
add esp, 0x14
push 0xb
jmp 0x416522
cmp dword [ebp + 0x58], ecx
je 0x41661c
push dword [ebp + 0x68]
push dword [ebp + 0x58]
push ebx
push dword [ebp + 0x50]
call fcn.0040e83f
add esp, 0x10
xor ecx, ecx
jmp 0x41661f
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x3c], ecx
jl 0x41663f
jg 0x41662b
cmp dword [ebp + 0x38], ecx
jbe 0x41663f
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x50]
call fcn.0040ea75
add esp, 0x10
xor ecx, ecx
cmp eax, ecx
jne 0x4169af
cmp dword [ebp + 0x10], ecx
jne 0x41687f
jmp 0x4169af
mov ecx, dword [ebp + 0x7c]
push 0x483600
call fcn.00436246
xor eax, eax
cmp dword [ebp + 0x50], 0xffffffff
sete al
xor ecx, ecx
test ebx, ebx
sete cl
test ecx, eax
je 0x41668c
push dword [ebp + 0x1c]
push dword [ebp + 0x7c]
push dword [ebp + 0x28]
call fcn.0040e3ff
add esp, 0xc
jmp 0x4169af
push dword [ebp + 0x20]
push dword [ebp + 0x7c]
push ebx
push dword [ebp + 0x50]
call fcn.0040e508
add esp, 0x10
jmp 0x4169af
push dword [ebp + 0x34]
push dword [ebp + 0x2c]
push ebx
push dword [ebp + 0x50]
call fcn.0040dec8
jmp 0x41669b
cmp dword [ebp + 4], ecx
je 0x4166cc
cmp dword [ebp + 0x30], 0
je 0x4166cc
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x30]
call dword [0x496e78]
push 0x480934
push str.CurRamDisk
mov ecx, 0x496eb8
call fcn.0042af0d
cmp byte [ebp + 0x5f], 0
je 0x416760
movzx edi, byte [ebp + 0x5f]
mov eax, edi
shl eax, 5
lea esi, [ebp + eax - 0x160]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x4c]
push dword [ebp + 0x30]
call dword [0x496e7c]
test eax, eax
je 0x416745
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor ebx, ebx
or eax, edx
jne 0x41671f
inc ebx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x41672c
xor eax, eax
inc eax
jmp 0x41672e
xor eax, eax
or eax, ebx
je 0x41674c
push edi
push str.Error:_Partition__i_is_not_defined._n
push 0x495830
call fcn.0046cf5d
add esp, 0xc
push 0xc
jmp 0x416522
add dword [ebp + 0x60], ecx
mov eax, dword [esi + 8]
mov ebx, dword [ebp]
adc dword [ebp + 0x64], edx
mov dword [ebp + 0x38], eax
mov eax, dword [esi + 0xc]
jmp 0x4167d6
cmp dword [ebp + 4], 0
je 0x4167d9
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x4c]
push dword [ebp + 0x30]
call dword [0x496e7c]
test eax, eax
je 0x4167d9
lea eax, [ebp - 0x140]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x416791
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x41679c
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x4167ae
cmp cl, 0xf
je 0x4167ae
xor ecx, ecx
inc ecx
jmp 0x4167b0
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x4167c2
add eax, 0x20
lea ecx, [ebp - 0x40]
cmp eax, ecx
jb 0x416787
jmp 0x4167d9
mov ecx, dword [eax]
add dword [ebp + 0x60], ecx
mov ecx, dword [eax + 4]
adc dword [ebp + 0x64], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x3c], eax
mov esi, 0x4975e4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4835b8
push ebx
call fcn.0046d18c
test eax, eax
pop ecx
pop ecx
jne 0x416802
call dword [0x496e6c]
mov word [ebx], ax
mov dword [ebp + 0x54], eax
push ebx
push dword [ebp + 0x14]
lea eax, [ebp + 0x60]
push dword [ebp + 0x30]
push dword [ebp + 0x68]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x50]
push eax
call fcn.0040d742
add esp, 0x1c
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x416834
mov eax, edi
jmp 0x4169af
cmp dword [ebp + 0x28], 0
je 0x41684b
push dword [ebp + 0x50]
push 0x4835b4
call fcn.0046d5a8
pop ecx
pop ecx
jmp 0x416879
mov ecx, dword [ebp + 0x30]
test ecx, ecx
jne 0x416857
mov ecx, str.VM_image
test ebx, ebx
mov eax, str.No_mountpoint
je 0x416862
mov eax, ebx
push ecx
push eax
push dword [ebp + 0x50]
push str.Created_device__1_u_:__2_ws______3_ws_
push 0x495810
call fcn.0040d5ff
add esp, 0x14
cmp dword [ebp + 0x10], 0
je 0x416892
test ebx, ebx
je 0x41697a
push dword [ebp + 0x10]
push ebx
call fcn.0040dd17
pop ecx
pop ecx
test ebx, ebx
je 0x41697a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x4168b4
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x4168d5
push ebx
call esi
cmp eax, 3
jne 0x4168d3
lea eax, [ebx + 2]
push 0x482740
push eax
call fcn.0046d18c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4168d5
xor eax, eax
test eax, eax
je 0x41697a
movzx esi, word [ebx]
xor eax, eax
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x10], 2
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
sub esi, 0x41
inc eax
mov ecx, esi
shl eax, cl
push ebx
push str.CurRamDisk
mov ecx, 0x496eb8
mov dword [ebp - 8], eax
call fcn.0042af0d
test byte [ebp + 0x20], 1
jne 0x41697a
cmp esi, 0x19
ja 0x41697a
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [ebp + 0x34]
push eax
push dword [0x495298]
lea eax, [ebp - 0x14]
push 3
push eax
push 0x8000
mov ebx, 0x219
push ebx
mov edi, 0xffff
push edi
call esi
lea eax, [ebp + 0x34]
push eax
push dword [0x495298]
lea eax, [ebp - 0x14]
push 3
push eax
push 0x8000
push ebx
push edi
mov word [ebp - 4], 1
call esi
lea eax, [ebp + 0x34]
push eax
push dword [0x495298]
push 3
push 0
push 7
push ebx
push edi
call esi
mov edi, dword [ebp + 0x54]
test di, di
je 0x4169ad
push 0xffffffffffffffff
push 0x483558
lea ecx, [ebp + 0x2c]
call fcn.00436214
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x2c]
push eax
mov ecx, esi
call fcn.00436274
lea ecx, [ebp + 0x2c]
call fcn.0042704a
mov eax, dword [esi]
mov word [eax + 2], di
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret