Function at 0x426bfb
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1b0
xor ecx, ecx
cmp dword [0x4bdf60], ecx
jne 0x426c18
or eax, 0xffffffff
jmp 0x427d92
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x74]
or dword [ebp + 0x54], 0xffffffff
push esi
push edi
mov dword [ebp + 0x30], ecx
mov esi, dword [ebp + 0x78]
lea edi, [ebp + 0x34]
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
cmp ebx, 2
mov dword [ebp + 0x5c], ecx
lea edi, [ebp + 0x60]
stosd dword es:[edi], eax
mov byte [ebp + 0x5b], al
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov ax, word [eax]
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x68], ecx
mov dword [ebp], ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x1c], ecx
mov word [ebp + 0x18], ax
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 8], 0xfa0
jne 0x426d4e
push 0x4a8e40
push dword [esi + 4]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426d57
mov eax, dword [0x4bdf64]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
je 0x426cb9
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp + 0x14]
push ecx
call eax
lea ecx, [ebp + 0x2c]
call fcn.0043d47d
push 0x3f
lea eax, [ebp + 0x2c]
push eax
push 1
call fcn.00411b6a
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
add esp, 0xc
cmp eax, 2
mov esi, 0x4a8e38
jne 0x426ce8
mov esi, str.NotLoad
jmp 0x426d03
cmp eax, 0xffffffff
jne 0x426cf4
mov esi, str.CannotControl
jmp 0x426d03
cmp ecx, edi
ja 0x426d03
jb 0x426cfe
cmp edx, edi
ja 0x426d03
mov esi, str.NotInstall
movzx eax, dl
shrd edx, ecx, 8
push esi
push eax
movsx eax, dx
push eax
movzx eax, byte [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
shr ecx, 8
mov ecx, dword [ebp + 0x14]
shrd ecx, eax, 8
shr eax, 8
movsx eax, cx
push eax
mov eax, dword [ebp + 0x7c]
push str._X._02X___X._X__s
push dword [eax]
mov dword [ebp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp + 0x2c]
call fcn.00437960
xor eax, eax
jmp 0x427d8f
cmp ebx, 1
jle 0x42799a
xor edi, edi
add esi, 4
push str.__id
push dword [esi]
dec ebx
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426d78
or dword [ebp + 0x4c], 2
jmp 0x4277df
push 0x4a8db0
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426d93
or dword [ebp + 0x4c], 1
jmp 0x4277df
push str.__remove
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426dae
or dword [ebp + 0x4c], 4
jmp 0x4277df
push 0x4a8d94
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426dcc
mov dword [ebp + 0x64], 5
jmp 0x4277df
push str.__hide
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x426de7
or dword [ebp + 0x4c], 0x10
jmp 0x4277df
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 2
jne 0x426e03
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x426e05
xor eax, eax
cmp eax, edi
je case.0x4270ad.114
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x4270a1
je 0x427066
cmp eax, 0x62
jg 0x426fb0
je 0x426eba
sub eax, 0x44
je 0x427031
dec eax
dec eax
je 0x426fd9
sub eax, 0xc
je 0x427031
dec eax
je 0x426e6f
sub eax, 0xe
jne case.0x4270ad.114
cmp dword [ebp + 0x64], edi
jne case.0x4270ad.114
mov dword [ebp + 0x64], 1
jmp 0x4277df
xor eax, eax
cmp dword [ebp + 0x44], edi
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00490746
test eax, eax
pop ecx
je case.0x4270ad.114
push edi
push edi
push dword [esi]
call fcn.0049072f
mov dword [ebp + 0x44], eax
jmp 0x4277db
mov eax, dword [ebp + 0x5c]
or eax, dword [ebp + 0x60]
je 0x426ec7
xor eax, eax
inc eax
jmp 0x426ec9
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 4], edi
setne cl
xor edx, edx
cmp dword [ebp + 0x64], 1
setne dl
or ecx, edx
xor edx, edx
cmp ebx, 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x4270ad.114
add esi, 4
push 0x4a8d78
push dword [esi]
call fcn.0048fd7c
pop ecx
xor edi, edi
test eax, eax
pop ecx
jne 0x426f11
mov dword [ebp + 4], 1
jmp 0x4277de
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x5c]
push eax
push str._I64u_c
push dword [esi]
mov dword [ebp + 0x24], edi
call fcn.00490503
movzx eax, word [ebp + 0x24]
add esp, 0x10
cmp eax, 0x62
jg 0x427833
je 0x426f98
sub eax, edi
je 0x4277de
sub eax, 0x47
je 0x426f68
sub eax, 4
je 0x426f89
dec eax
dec eax
je 0x426f7a
sub eax, 7
jne 0x4278a2
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x426f6e
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x60], ecx
jmp 0x426f7d
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x426f8f
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x426fa5
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], ecx
jmp 0x4277de
sub eax, 0x64
je 0x427031
dec eax
je 0x42701c
dec eax
je 0x426fd9
sub eax, 6
jne case.0x4270ad.114
cmp dword [ebp + 0x64], edi
jne case.0x4270ad.114
mov dword [ebp + 0x64], 3
jmp 0x4277df
xor eax, eax
cmp dword [ebp + 0x28], edi
setne al
xor edx, edx
cmp dword [ebp + 0x64], 1
setne dl
or eax, edx
xor edx, edx
cmp ebx, 2
setl dl
or eax, edx
jne case.0x4270ad.114
cmp cx, 0x46
jne 0x427009
mov dword [ebp], 1
add esi, 4
push dword [esi]
call fcn.0041113a
pop ecx
mov dword [ebp + 0x28], eax
jmp 0x427785
cmp dword [ebp + 0x64], edi
jne case.0x4270ad.114
mov dword [ebp + 0x64], 4
jmp 0x4277df
cmp dword [ebp + 0x64], edi
jne case.0x4270ad.114
cmp cx, 0x44
mov dword [ebp + 0x64], 2
jne 0x42704e
mov dword [ebp + 0x2c], 1
cmp cx, 0x52
jne 0x4277df
xor eax, eax
inc eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0xc], eax
jmp 0x4277df
xor eax, eax
cmp dword [ebp + 0x54], 0xffffffff
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x48], edi
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x48], eax
jmp 0x4277de
sub eax, 0x6e
cmp eax, 0xb
ja case.0x4270ad.114
jmp dword [eax*4 + 0x427d97]
mov dword [ebp + 8], 1
jmp 0x4277df
mov eax, dword [ebp + 0x68]
and eax, 0xf00
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
push str.file
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427107
or byte [ebp + 0x69], 1
jmp 0x4277de
push 0x4a8d54
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427122
or byte [ebp + 0x69], 2
jmp 0x4277de
push str.proxy
push dword [esi]
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne case.0x4270ad.114
or byte [ebp + 0x69], 3
jmp 0x4277de
mov dword [ebp - 4], 1
jmp 0x4277df
xor eax, eax
cmp dword [ebp + 0x64], 4
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
push 0x4a4978
push dword [esi]
jmp 0x427432
push 0x4a8d40
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4271a8
test byte [ebp + 0x50], 1
jne case.0x4270ad.114
or dword [ebp + 0x50], 1
or dword [ebp + 0x68], 1
jmp 0x42742b
push 0x4a8d38
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4271d0
test byte [ebp + 0x50], 1
jne case.0x4270ad.114
or dword [ebp + 0x50], 1
and dword [ebp + 0x68], 0xfffffffe
jmp 0x42742b
push 0x4a8d30
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4271f8
test byte [ebp + 0x50], 2
jne case.0x4270ad.114
or dword [ebp + 0x50], 2
or dword [ebp + 0x68], 2
jmp 0x42742b
push 0x4a8d28
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427220
test byte [ebp + 0x50], 2
jne case.0x4270ad.114
or dword [ebp + 0x50], 2
and dword [ebp + 0x68], 0xfffffffd
jmp 0x42742b
push str.saved
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x42724c
cmp dword [ebp + 0x64], 4
jne case.0x4270ad.114
or byte [ebp + 0x52], 1
and byte [ebp + 0x6a], 0xfe
or dword [ebp + 0x4c], 8
jmp 0x42742b
cmp dword [ebp + 0x64], 1
jne case.0x4270ad.114
push 0x4a8d14
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4272a1
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x68]
and eax, 0xf000
neg eax
sbb eax, eax
and ecx, 0xf00
xor edx, edx
neg eax
cmp ecx, 0x300
setne dl
or eax, edx
jne case.0x4270ad.114
or byte [ebp + 0x69], 0x20
mov dword [ebp], 1
jmp 0x42742b
push str.comm
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4272ec
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x68]
and eax, 0xf000
neg eax
sbb eax, eax
and ecx, 0xf00
xor edx, edx
neg eax
cmp ecx, 0x300
setne dl
or eax, edx
jne case.0x4270ad.114
or byte [ebp + 0x69], 0x10
mov dword [ebp], 1
jmp 0x42742b
push 0x4a8d00
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427330
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x68]
and eax, 0xf000
neg eax
sbb eax, eax
and ecx, 0xf00
xor edx, edx
neg eax
cmp ecx, 0x300
setne dl
or eax, edx
jne case.0x4270ad.114
or byte [ebp + 0x69], 0x30
jmp 0x42742b
push 0x4a8cf8
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x42737b
mov eax, dword [ebp + 0x68]
and eax, 0xf00
xor ecx, ecx
cmp eax, 0x100
setne cl
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x68]
setne dl
and eax, 0xf000
and ecx, edx
neg eax
sbb eax, eax
neg eax
or ecx, eax
jne case.0x4270ad.114
or byte [ebp + 0x69], 0x11
jmp 0x42742b
push 0x4a8cf0
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4273c3
mov eax, dword [ebp + 0x68]
and eax, 0xf00
xor ecx, ecx
cmp eax, 0x100
setne cl
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x68]
setne dl
and eax, 0xf000
and ecx, edx
neg eax
sbb eax, eax
neg eax
or ecx, eax
jne case.0x4270ad.114
or byte [ebp + 0x69], 0x21
jmp 0x42742b
push str.shared
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4273da
or byte [ebp + 0x6a], 2
jmp 0x42742b
test byte [ebp + 0x68], 0xf0
jne case.0x4270ad.114
push 0x4a8cd8
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x4273fb
or dword [ebp + 0x68], 0x10
jmp 0x42742b
push 0x4a8cd0
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427412
or dword [ebp + 0x68], 0x20
jmp 0x42742b
push 0x4a8cc8
push edi
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne case.0x4270ad.114
or dword [ebp + 0x68], 0x30
push 0x4a4978
push 0
call fcn.0049045e
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x427180
jmp 0x427785
mov eax, dword [ebp + 0x30]
or eax, dword [ebp + 0x34]
je 0x427455
xor eax, eax
inc eax
jmp 0x427457
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x64], 4
setne cl
xor edx, edx
cmp dword [ebp + 0x64], 1
setne dl
and ecx, edx
xor edx, edx
cmp ebx, 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x4270ad.114
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x30]
push eax
add esi, 4
push str._I64i_c
push dword [esi]
xor edi, edi
mov dword [ebp + 0x24], edi
call fcn.00490503
movzx eax, word [ebp + 0x24]
add esp, 0x10
cmp eax, 0x54
jg 0x42756a
je 0x42752a
sub eax, edi
je 0x4275f4
sub eax, 0x25
je 0x4274d3
sub eax, 0x22
je 0x427539
sub eax, 4
je 0x427558
dec eax
dec eax
jne 0x4278a2
mov eax, dword [ebp + 0x30]
jmp 0x427549
cmp dword [ebp + 0x34], edi
jg 0x4274e4
jl 0x4274df
cmp dword [ebp + 0x30], edi
ja 0x4274e4
xor ecx, ecx
inc ecx
jmp 0x4274e6
xor ecx, ecx
cmp dword [ebp + 0x34], edi
jl 0x4274f8
jg 0x4274f3
cmp dword [ebp + 0x30], 0x64
jb 0x4274f8
xor eax, eax
inc eax
jmp 0x4274fa
xor eax, eax
or eax, ecx
jne case.0x4270ad.114
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push edi
push dword [ebp - 0x18]
call fcn.0048f8b0
push edi
push 0x64
push edx
push eax
call fcn.0048f800
jmp 0x4275dc
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x42753f
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x34], ecx
jmp 0x42755b
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x4275ee
sub eax, 0x62
je 0x4275e1
sub eax, 5
je 0x42759d
sub eax, 4
je 0x4275cb
dec eax
dec eax
je 0x4275b4
sub eax, 7
jne 0x4278a2
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0048f8b0
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0048f8b0
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0048f8b0
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0048f8b0
mov dword [ebp + 0x34], edx
jmp 0x4275f1
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x30], eax
cmp dword [ebp + 0x34], edi
jg 0x4277de
jl 0x427608
cmp dword [ebp + 0x30], edi
jae 0x4277de
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp - 0x38]
add dword [ebp + 0x30], eax
adc dword [ebp + 0x34], edi
js 0x42762c
jg 0x4277de
cmp dword [ebp + 0x30], edi
jae 0x4277de
xor ecx, ecx
cmp ecx, 0x100
mov edi, 0x400
mov esi, 0x100000
mov edx, 0x40000000
jb 0x4278c1
ja 0x427653
test eax, eax
jb 0x4278c1
mov ebx, 0x4a8cb4
jmp 0x4278f1
xor eax, eax
cmp dword [ebp + 0x40], edi
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00490746
test eax, eax
pop ecx
je case.0x4270ad.114
push edi
push edi
push dword [esi]
call fcn.0049072f
mov dword [ebp + 0x40], eax
jmp 0x4277db
xor eax, eax
cmp dword [ebp + 0x3c], edi
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00490746
test eax, eax
pop ecx
je case.0x4270ad.114
push edi
push edi
push dword [esi]
call fcn.0049072f
mov dword [ebp + 0x3c], eax
jmp 0x4277db
xor eax, eax
cmp byte [ebp + 0x5b], al
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
xor edx, edx
add esi, 4
mov eax, dword [esi]
xor ecx, ecx
mov cx, word [eax]
mov dx, 0x38
cmp dx, cx
sbb edx, edx
neg edx
cmp cx, 0x31
sbb ecx, ecx
neg ecx
or edx, ecx
jne case.0x4270ad.114
cmp word [eax + 2], di
jne case.0x4270ad.114
mov al, byte [eax]
sub al, 0x30
mov byte [ebp + 0x5b], al
jmp 0x4277de
xor eax, eax
inc eax
cmp dword [ebp + 0x64], eax
je 0x427761
cmp dword [ebp + 0x64], 4
jne 0x427763
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x10], edi
setne cl
xor edx, edx
cmp ebx, 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
dec ebx
xor edi, edi
jmp 0x4277df
xor eax, eax
cmp dword [ebp + 0x48], edi
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x54], 0xffffffff
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x4270ad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00490746
test eax, eax
pop ecx
je case.0x4270ad.114
push edi
push edi
push dword [esi]
call fcn.0049072f
mov dword [ebp + 0x54], eax
add esp, 0xc
dec ebx
cmp ebx, 1
jg 0x426d59
cmp dword [ebp + 0x64], 5
jne 0x42799a
mov eax, dword [ebp + 0x4c]
shr eax, 2
xor ecx, ecx
inc ecx
not eax
and eax, ecx
test byte [ebp + 0x4c], cl
je 0x427807
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je case.0x4270ad.114
mov cx, word [ecx]
test cx, cx
je case.0x4270ad.114
push dword [ebp + 8]
push eax
movzx eax, cx
push eax
call fcn.004118e7
add esp, 0xc
jmp case.0x4270ad.114
sub eax, 0x67
je 0x42785d
sub eax, 4
je 0x42788b
dec eax
dec eax
je 0x427874
sub eax, 7
jne 0x4278a2
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0048f8b0
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0048f8b0
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0048f8b0
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0048f8b0
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
movzx eax, word [ebp + 0x24]
push eax
push str.ImDisk:_Unsupported_size_suffix:__wc_n
push 0x4bc870
call fcn.0048fbbd
add esp, 0xc
push 0xa
pop eax
jmp 0x427d8f
cmp eax, edx
jb 0x4278cc
mov ebx, 0x4a8c88
jmp 0x4278f1
cmp eax, esi
jb 0x4278d7
mov ebx, 0x4a8c84
jmp 0x4278f1
cmp eax, edi
jb 0x4278e2
mov ebx, 0x4a8c80
jmp 0x4278f1
cmp eax, 1
mov ebx, str.byte
je 0x4278f1
mov ebx, 0x4a8c70
cmp ecx, 0x100
jb 0x427917
ja 0x4278ff
test eax, eax
jb 0x427917
test eax, eax
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
jge 0x42790f
fadd qword [0x4a8c68]
fmul qword [0x4a8c60]
jmp 0x42797b
cmp eax, edx
jb 0x427933
test eax, eax
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
jge 0x42792b
fadd qword [0x4a8c68]
fmul qword [0x4a8c58]
jmp 0x427915
cmp eax, esi
jb 0x42794f
test eax, eax
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
jge 0x427947
fadd qword [0x4a8c68]
fmul qword [0x4a8c50]
jmp 0x427915
cmp eax, edi
jb 0x42796b
test eax, eax
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
jge 0x427963
fadd qword [0x4a8c68]
fmul qword [0x4a8c48]
jmp 0x427915
test eax, eax
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
jge 0x42797b
fadd qword [0x4a8c68]
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 0x4bc870
call fcn.0048fbbd
add esp, 0x14
push 0xb
jmp 0x4278bb
mov eax, dword [ebp + 0x64]
xor edi, edi
xor ecx, ecx
dec eax
mov dword [ebp + 0x24], edi
je 0x427ad5
dec eax
je 0x427a9a
dec eax
je 0x427a49
dec eax
jne case.0x4270ad.114
xor eax, eax
cmp dword [ebp + 0x54], 0xffffffff
sete al
xor edx, edx
cmp dword [ebp + 0x48], ecx
sete dl
test edx, eax
jne case.0x4270ad.114
cmp dword [ebp + 0x50], ecx
je 0x4279f7
push dword [ebp + 0x68]
push dword [ebp + 0x50]
push dword [ebp + 0x48]
push dword [ebp + 0x54]
call fcn.004120ac
add esp, 0x10
mov dword [ebp + 0x1c], eax
xor ecx, ecx
cmp dword [ebp + 0x34], ecx
jl 0x427a1c
jg 0x427a03
cmp dword [ebp + 0x30], ecx
jbe 0x427a1c
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x48]
push dword [ebp + 0x54]
call fcn.004122e2
add esp, 0x10
mov dword [ebp + 0x1c], eax
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jne 0x427d8f
cmp dword [ebp + 0x10], ecx
je 0x427d8f
push dword [ebp + 0x10]
push dword [ebp + 0x48]
push dword [ebp + 0x54]
call fcn.0041be5d
mov ebx, dword [ebp + 0x48]
add esp, 0xc
jmp 0x427cac
mov ecx, dword [ebp + 0x7c]
push 0x4a7538
call fcn.0044584c
xor eax, eax
cmp dword [ebp + 0x54], 0xffffffff
sete al
xor ecx, ecx
cmp dword [ebp + 0x48], ecx
sete cl
test ecx, eax
je 0x427a81
push dword [ebp + 0x18]
push dword [ebp + 0x7c]
push dword [ebp - 4]
call fcn.00411b6a
add esp, 0xc
jmp 0x427d8f
push dword [ebp + 0x4c]
push dword [ebp + 0x7c]
push dword [ebp + 0x48]
push dword [ebp + 0x54]
call fcn.00411d24
add esp, 0x10
jmp 0x427d8f
xor eax, eax
cmp dword [ebp + 0x48], ecx
sete al
xor ecx, ecx
or eax, dword [ebp + 0xc]
cmp dword [ebp + 0x54], 0xffffffff
sete cl
test ecx, eax
jne case.0x4270ad.114
push dword [ebp + 0x4c]
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x2c]
push dword [ebp + 0x48]
push dword [ebp + 0x54]
call fcn.0041c134
add esp, 0x18
jmp 0x427d8f
cmp dword [ebp + 4], ecx
je 0x427af1
cmp dword [ebp + 0x28], 0
je case.0x4270ad.114
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x28]
call dword [0x4bdf44]
push 0x4a39d4
push str.CurRamDisk
mov ecx, 0x4bdfa0
call fcn.0043cd78
cmp byte [ebp + 0x5b], 0
je 0x427b85
movzx edi, byte [ebp + 0x5b]
mov eax, edi
shl eax, 5
lea esi, [ebp + eax - 0x164]
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x28]
call dword [0x4bdf48]
test eax, eax
je 0x427b6a
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor ebx, ebx
or eax, edx
jne 0x427b44
inc ebx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x427b51
xor eax, eax
inc eax
jmp 0x427b53
xor eax, eax
or eax, ebx
je 0x427b71
push edi
push str.Error:_Partition__i_is_not_defined._n
push 0x4bc870
call fcn.0048fbbd
add esp, 0xc
push 0xc
jmp 0x4278bb
add dword [ebp + 0x5c], ecx
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0x24]
adc dword [ebp + 0x60], edx
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 0xc]
jmp 0x427bfb
cmp dword [ebp + 4], 0
je 0x427bfe
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x28]
call dword [0x4bdf48]
test eax, eax
je 0x427bfe
lea eax, [ebp - 0x144]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x427bb6
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x427bc1
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x427bd3
cmp cl, 0xf
je 0x427bd3
xor ecx, ecx
inc ecx
jmp 0x427bd5
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x427be7
add eax, 0x20
lea ecx, [ebp - 0x44]
cmp eax, ecx
jb 0x427bac
jmp 0x427bfe
mov ecx, dword [eax]
add dword [ebp + 0x5c], ecx
mov ecx, dword [eax + 4]
adc dword [ebp + 0x60], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], eax
mov esi, 0x4beb4c
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, dword [ebp + 0x48]
test ebx, ebx
je 0x427c2d
push 0x4a8bac
push ebx
call fcn.0048fd7c
test eax, eax
pop ecx
pop ecx
jne 0x427c2d
call dword [0x4bdf34]
mov word [ebx], ax
mov edi, eax
push dword [ebp + 0x4c]
lea eax, [ebp + 0x5c]
push dword [ebp + 0x10]
push ebx
push dword [ebp]
push dword [ebp + 0x28]
push dword [ebp + 0x68]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.00426613
add esp, 0x24
push esi
mov dword [ebp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 0x1c], 0
jne 0x427cac
cmp dword [ebp - 4], 0
je 0x427c7e
push dword [ebp + 0x54]
push str._1_u_
push 0x4bc850
call fcn.004119a6
add esp, 0xc
jmp 0x427cac
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x427c8a
mov ecx, str.VM_image
test ebx, ebx
mov eax, str.No_mountpoint
je 0x427c95
mov eax, ebx
push ecx
push eax
push dword [ebp + 0x54]
push str.Created_device__1_u_:__2_ws______3_ws_
push 0x4bc850
call fcn.004119a6
add esp, 0x14
test ebx, ebx
je 0x427d16
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x427cca
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x427ceb
push ebx
call esi
cmp eax, 3
jne 0x427ce9
lea eax, [ebx + 2]
push 0x4a678c
push eax
call fcn.0048fd7c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x427ceb
xor eax, eax
test eax, eax
je 0x427d16
push ebx
push str.CurRamDisk
mov ecx, 0x4bdfa0
call fcn.0043cd78
test byte [ebp + 0x4c], 1
jne 0x427d16
push dword [ebp + 8]
movzx eax, word [ebx]
push 1
push eax
call fcn.004118e7
add esp, 0xc
test di, di
je 0x427d4e
cmp dword [ebp - 4], 0
jne 0x427d4e
push 0xffffffffffffffff
push 0x4a8b48
lea ecx, [ebp + 0x2c]
call fcn.0044581a
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x2c]
push eax
mov ecx, esi
call fcn.0044587a
lea ecx, [ebp + 0x2c]
call fcn.00437960
mov eax, dword [esi]
mov word [eax + 2], di
jmp 0x427d8c
mov esi, dword [ebp + 0x7c]
push 0x42
mov ecx, esi
call fcn.0043d4c2
test di, di
mov eax, dword [esi]
mov word [eax], 0x2a
je 0x427d71
cmp dword [ebp + 0x54], 0
mov eax, str._d__c:
jge 0x427d76
mov eax, 0x4a4088
movzx ecx, di
push ecx
push dword [ebp + 0x54]
push eax
mov eax, dword [esi]
inc eax
inc eax
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret