Function at 0x4227fd
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1b0
xor ecx, ecx
cmp dword [0x4acef0], ecx
jne 0x42281a
or eax, 0xffffffff
jmp 0x423949
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x74]
or dword [ebp + 0x48], 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 + 0xc], ecx
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp - 4], ecx
mov word [ebp + 0x1c], ax
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x14], 0xfa0
jne 0x42294e
push 0x498968
push dword [esi + 4]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422957
mov eax, dword [0x4acef4]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp], edi
mov dword [ebp + 4], edi
je 0x4228bb
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x18]
push ecx
call eax
lea ecx, [ebp + 0x20]
call fcn.00435d62
push 0x3f
lea eax, [ebp + 0x20]
push eax
push 1
call fcn.0040f851
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
add esp, 0xc
cmp eax, 2
mov esi, 0x498960
jne 0x4228ea
mov esi, str.NotLoad
jmp 0x422905
cmp eax, 0xffffffff
jne 0x4228f6
mov esi, str.CannotControl
jmp 0x422905
cmp ecx, edi
ja 0x422905
jb 0x422900
cmp edx, edi
ja 0x422905
mov esi, str.NotInstall
movzx eax, dl
shrd edx, ecx, 8
push esi
push eax
movsx eax, dx
push eax
movzx eax, byte [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
shr ecx, 8
mov ecx, dword [ebp + 0x18]
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 + 0x24], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp + 0x20]
call fcn.0043092f
jmp case.0x422cad.114
cmp ebx, 1
jle 0x42359a
xor edi, edi
add esi, 4
push str.__id
push dword [esi]
dec ebx
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422978
or dword [ebp + 0x54], 2
jmp 0x4233df
push 0x4988d8
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422993
or dword [ebp + 0x54], 1
jmp 0x4233df
push str.__remove
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x4229ae
or dword [ebp + 0x54], 4
jmp 0x4233df
push 0x4988bc
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x4229cc
mov dword [ebp + 0x64], 5
jmp 0x4233df
push str.__hide
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x4229e7
or dword [ebp + 0x54], 0x10
jmp 0x4233df
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 2
jne 0x422a03
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x422a05
xor eax, eax
cmp eax, edi
je case.0x422cad.114
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x422ca1
je 0x422c66
cmp eax, 0x62
jg 0x422bb0
je 0x422aba
sub eax, 0x44
je 0x422c31
dec eax
dec eax
je 0x422bd9
sub eax, 0xc
je 0x422c31
dec eax
je 0x422a6f
sub eax, 0xe
jne case.0x422cad.114
cmp dword [ebp + 0x64], edi
jne case.0x422cad.114
mov dword [ebp + 0x64], 1
jmp 0x4233df
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.0x422cad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00480e3c
test eax, eax
pop ecx
je case.0x422cad.114
push edi
push edi
push dword [esi]
call fcn.00480e25
mov dword [ebp + 0x44], eax
jmp 0x4233db
mov eax, dword [ebp + 0x5c]
or eax, dword [ebp + 0x60]
je 0x422ac7
xor eax, eax
inc eax
jmp 0x422ac9
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 8], 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.0x422cad.114
add esi, 4
push 0x4988a0
push dword [esi]
call fcn.0048040c
pop ecx
xor edi, edi
test eax, eax
pop ecx
jne 0x422b11
mov dword [ebp + 8], 1
jmp 0x4233de
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x5c]
push eax
push str._I64u_c
push dword [esi]
mov dword [ebp + 0x2c], edi
call fcn.00480bf9
movzx eax, word [ebp + 0x2c]
add esp, 0x10
cmp eax, 0x62
jg 0x423433
je 0x422b98
sub eax, edi
je 0x4233de
sub eax, 0x47
je 0x422b68
sub eax, 4
je 0x422b89
dec eax
dec eax
je 0x422b7a
sub eax, 7
jne 0x4234a2
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x422b6e
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x60], ecx
jmp 0x422b7d
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x422b8f
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x422ba5
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 0x4233de
sub eax, 0x64
je 0x422c31
dec eax
je 0x422c1c
dec eax
je 0x422bd9
sub eax, 6
jne case.0x422cad.114
cmp dword [ebp + 0x64], edi
jne case.0x422cad.114
mov dword [ebp + 0x64], 3
jmp 0x4233df
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.0x422cad.114
cmp cx, 0x46
jne 0x422c09
mov dword [ebp + 0xc], 1
add esi, 4
push dword [esi]
call fcn.0040eec0
pop ecx
mov dword [ebp + 0x28], eax
jmp 0x423385
cmp dword [ebp + 0x64], edi
jne case.0x422cad.114
mov dword [ebp + 0x64], 4
jmp 0x4233df
cmp dword [ebp + 0x64], edi
jne case.0x422cad.114
cmp cx, 0x44
mov dword [ebp + 0x64], 2
jne 0x422c4e
mov dword [ebp + 0x24], 1
cmp cx, 0x52
jne 0x4233df
xor eax, eax
inc eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 4], eax
jmp 0x4233df
xor eax, eax
cmp dword [ebp + 0x48], 0xffffffff
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x4c], edi
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x422cad.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x4c], eax
jmp 0x4233de
sub eax, 0x6e
cmp eax, 0xb
ja case.0x422cad.114
jmp dword [eax*4 + 0x42394e]
mov dword [ebp + 0x14], 1
jmp 0x4233df
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.0x422cad.114
add esi, 4
push str.file
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422d07
or byte [ebp + 0x69], 1
jmp 0x4233de
push 0x49887c
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422d22
or byte [ebp + 0x69], 2
jmp 0x4233de
push str.proxy
push dword [esi]
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne case.0x422cad.114
or byte [ebp + 0x69], 3
jmp 0x4233de
mov dword [ebp + 0x20], 1
jmp 0x4233df
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.0x422cad.114
add esi, 4
push 0x495674
push dword [esi]
jmp 0x423032
push 0x498868
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422da8
test byte [ebp + 0x50], 1
jne case.0x422cad.114
or dword [ebp + 0x50], 1
or dword [ebp + 0x68], 1
jmp 0x42302b
push 0x498860
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422dd0
test byte [ebp + 0x50], 1
jne case.0x422cad.114
or dword [ebp + 0x50], 1
and dword [ebp + 0x68], 0xfffffffe
jmp 0x42302b
push 0x498858
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422df8
test byte [ebp + 0x50], 2
jne case.0x422cad.114
or dword [ebp + 0x50], 2
or dword [ebp + 0x68], 2
jmp 0x42302b
push 0x498850
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422e20
test byte [ebp + 0x50], 2
jne case.0x422cad.114
or dword [ebp + 0x50], 2
and dword [ebp + 0x68], 0xfffffffd
jmp 0x42302b
push str.saved
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422e4c
cmp dword [ebp + 0x64], 4
jne case.0x422cad.114
or byte [ebp + 0x52], 1
and byte [ebp + 0x6a], 0xfe
or dword [ebp + 0x54], 8
jmp 0x42302b
cmp dword [ebp + 0x64], 1
jne case.0x422cad.114
push 0x49883c
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422ea1
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.0x422cad.114
or byte [ebp + 0x69], 0x20
mov dword [ebp + 0xc], 1
jmp 0x42302b
push str.comm
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422eec
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.0x422cad.114
or byte [ebp + 0x69], 0x10
mov dword [ebp + 0xc], 1
jmp 0x42302b
push 0x498828
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422f30
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.0x422cad.114
or byte [ebp + 0x69], 0x30
jmp 0x42302b
push 0x498820
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422f7b
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.0x422cad.114
or byte [ebp + 0x69], 0x11
jmp 0x42302b
push 0x498818
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422fc3
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.0x422cad.114
or byte [ebp + 0x69], 0x21
jmp 0x42302b
push str.shared
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422fda
or byte [ebp + 0x6a], 2
jmp 0x42302b
test byte [ebp + 0x68], 0xf0
jne case.0x422cad.114
push 0x498800
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x422ffb
or dword [ebp + 0x68], 0x10
jmp 0x42302b
push 0x4987f8
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x423012
or dword [ebp + 0x68], 0x20
jmp 0x42302b
push 0x4987f0
push edi
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne case.0x422cad.114
or dword [ebp + 0x68], 0x30
push 0x495674
push 0
call fcn.00480b54
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x422d80
jmp 0x423385
mov eax, dword [ebp + 0x30]
or eax, dword [ebp + 0x34]
je 0x423055
xor eax, eax
inc eax
jmp 0x423057
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.0x422cad.114
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x30]
push eax
add esi, 4
push str._I64i_c
push dword [esi]
xor edi, edi
mov dword [ebp + 0x2c], edi
call fcn.00480bf9
movzx eax, word [ebp + 0x2c]
add esp, 0x10
cmp eax, 0x54
jg 0x42316a
je 0x42312a
sub eax, edi
je 0x4231f4
sub eax, 0x25
je 0x4230d3
sub eax, 0x22
je 0x423139
sub eax, 4
je 0x423158
dec eax
dec eax
jne 0x4234a2
mov eax, dword [ebp + 0x30]
jmp 0x423149
cmp dword [ebp + 0x34], edi
jg 0x4230e4
jl 0x4230df
cmp dword [ebp + 0x30], edi
ja 0x4230e4
xor ecx, ecx
inc ecx
jmp 0x4230e6
xor ecx, ecx
cmp dword [ebp + 0x34], edi
jl 0x4230f8
jg 0x4230f3
cmp dword [ebp + 0x30], 0x64
jb 0x4230f8
xor eax, eax
inc eax
jmp 0x4230fa
xor eax, eax
or eax, ecx
jne case.0x422cad.114
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push edi
push dword [ebp - 0x38]
call fcn.0047fe80
push edi
push 0x64
push edx
push eax
call fcn.0047fdd0
jmp 0x4231dc
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x42313f
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 0x42315b
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x4231ee
sub eax, 0x62
je 0x4231e1
sub eax, 5
je 0x42319d
sub eax, 4
je 0x4231cb
dec eax
dec eax
je 0x4231b4
sub eax, 7
jne 0x4234a2
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047fe80
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047fe80
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047fe80
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047fe80
mov dword [ebp + 0x34], edx
jmp 0x4231f1
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 0x4233de
jl 0x423208
cmp dword [ebp + 0x30], edi
jae 0x4233de
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
add dword [ebp + 0x30], eax
adc dword [ebp + 0x34], edi
js 0x42322c
jg 0x4233de
cmp dword [ebp + 0x30], edi
jae 0x4233de
xor ecx, ecx
cmp ecx, 0x100
mov edi, 0x400
mov esi, 0x100000
mov edx, 0x40000000
jb 0x4234c1
ja 0x423253
test eax, eax
jb 0x4234c1
mov ebx, 0x4987dc
jmp 0x4234f1
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.0x422cad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00480e3c
test eax, eax
pop ecx
je case.0x422cad.114
push edi
push edi
push dword [esi]
call fcn.00480e25
mov dword [ebp + 0x40], eax
jmp 0x4233db
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.0x422cad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00480e3c
test eax, eax
pop ecx
je case.0x422cad.114
push edi
push edi
push dword [esi]
call fcn.00480e25
mov dword [ebp + 0x3c], eax
jmp 0x4233db
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.0x422cad.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.0x422cad.114
cmp word [eax + 2], di
jne case.0x422cad.114
mov al, byte [eax]
sub al, 0x30
mov byte [ebp + 0x5b], al
jmp 0x4233de
xor eax, eax
inc eax
cmp dword [ebp + 0x64], eax
je 0x423361
cmp dword [ebp + 0x64], 4
jne 0x423363
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.0x422cad.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
dec ebx
xor edi, edi
jmp 0x4233df
xor eax, eax
cmp dword [ebp + 0x4c], edi
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x48], 0xffffffff
setne cl
or eax, ecx
xor ecx, ecx
cmp ebx, 2
setl cl
or eax, ecx
jne case.0x422cad.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00480e3c
test eax, eax
pop ecx
je case.0x422cad.114
push edi
push edi
push dword [esi]
call fcn.00480e25
mov dword [ebp + 0x48], eax
add esp, 0xc
dec ebx
cmp ebx, 1
jg 0x422959
cmp dword [ebp + 0x64], 5
jne 0x42359a
mov eax, dword [ebp + 0x54]
shr eax, 2
xor ecx, ecx
inc ecx
not eax
and eax, ecx
test byte [ebp + 0x54], cl
je 0x423407
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je case.0x422cad.114
mov cx, word [ecx]
test cx, cx
je case.0x422cad.114
push dword [ebp + 0x14]
push eax
movzx eax, cx
push eax
call fcn.0040f5ce
add esp, 0xc
jmp case.0x422cad.114
sub eax, 0x67
je 0x42345d
sub eax, 4
je 0x42348b
dec eax
dec eax
je 0x423474
sub eax, 7
jne 0x4234a2
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047fe80
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047fe80
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047fe80
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047fe80
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
movzx eax, word [ebp + 0x2c]
push eax
push str.ImDisk:_Unsupported_size_suffix:__wc_n
push 0x4ab840
call fcn.0048024d
add esp, 0xc
push 0xa
pop eax
jmp 0x423946
cmp eax, edx
jb 0x4234cc
mov ebx, 0x4987b0
jmp 0x4234f1
cmp eax, esi
jb 0x4234d7
mov ebx, 0x4987ac
jmp 0x4234f1
cmp eax, edi
jb 0x4234e2
mov ebx, 0x4987a8
jmp 0x4234f1
cmp eax, 1
mov ebx, str.byte
je 0x4234f1
mov ebx, 0x498798
cmp ecx, 0x100
jb 0x423517
ja 0x4234ff
test eax, eax
jb 0x423517
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x42350f
fadd qword [0x498790]
fmul qword [0x498788]
jmp 0x42357b
cmp eax, edx
jb 0x423533
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x42352b
fadd qword [0x498790]
fmul qword [0x498780]
jmp 0x423515
cmp eax, esi
jb 0x42354f
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x423547
fadd qword [0x498790]
fmul qword [0x498778]
jmp 0x423515
cmp eax, edi
jb 0x42356b
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x423563
fadd qword [0x498790]
fmul qword [0x498770]
jmp 0x423515
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x42357b
fadd qword [0x498790]
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 0x4ab840
call fcn.0048024d
add esp, 0x14
push 0xb
jmp 0x4234bb
mov eax, dword [ebp + 0x64]
xor ecx, ecx
dec eax
mov dword [ebp + 0x2c], ecx
je 0x4236d1
dec eax
je 0x423696
dec eax
je 0x423645
dec eax
jne case.0x422cad.114
xor eax, eax
cmp dword [ebp + 0x48], 0xffffffff
sete al
xor edx, edx
cmp dword [ebp + 0x4c], ecx
sete dl
test edx, eax
jne case.0x422cad.114
cmp dword [ebp + 0x50], ecx
je 0x4235f5
push dword [ebp + 0x68]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040fd93
add esp, 0x10
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp + 0x34], ecx
jl 0x42361a
jg 0x423601
cmp dword [ebp + 0x30], ecx
jbe 0x42361a
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040ffc9
add esp, 0x10
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp eax, ecx
jne 0x423946
cmp dword [ebp + 0x10], ecx
je 0x423946
push dword [ebp + 0x10]
mov esi, dword [ebp + 0x4c]
push esi
push dword [ebp + 0x48]
call fcn.00419954
add esp, 0xc
jmp 0x4238a7
mov ecx, dword [ebp + 0x7c]
push 0x497f4c
call fcn.0044042b
xor eax, eax
cmp dword [ebp + 0x48], 0xffffffff
sete al
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
sete cl
test ecx, eax
je 0x42367d
push dword [ebp + 0x1c]
push dword [ebp + 0x7c]
push dword [ebp + 0x20]
call fcn.0040f851
add esp, 0xc
jmp 0x423946
push dword [ebp + 0x54]
push dword [ebp + 0x7c]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040fa0b
add esp, 0x10
jmp 0x423946
xor eax, eax
cmp dword [ebp + 0x4c], ecx
sete al
xor ecx, ecx
or eax, dword [ebp + 4]
cmp dword [ebp + 0x48], 0xffffffff
sete cl
test ecx, eax
jne case.0x422cad.114
push dword [ebp + 0x54]
push dword [ebp + 0x14]
push dword [ebp + 4]
push dword [ebp + 0x24]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.00419d68
add esp, 0x18
jmp 0x423946
cmp dword [ebp + 8], ecx
je 0x4236ed
cmp dword [ebp + 0x28], 0
je case.0x422cad.114
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x28]
call dword [0x4aced4]
push 0x4949a4
push str.CurRamDisk
mov ecx, 0x4acf10
call fcn.00435749
cmp byte [ebp + 0x5b], 0
je 0x42377e
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 [0x4aced8]
test eax, eax
je 0x423766
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor ebx, ebx
or eax, edx
jne 0x423740
inc ebx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x42374d
xor eax, eax
inc eax
jmp 0x42374f
xor eax, eax
or eax, ebx
je 0x42376d
push edi
push str.Error:_Partition__i_is_not_defined._n
push 0x4ab840
call fcn.0048024d
add esp, 0xc
push 0xc
jmp 0x4234bb
add dword [ebp + 0x5c], ecx
mov eax, dword [esi + 8]
mov dword [ebp + 0x30], eax
adc dword [ebp + 0x60], edx
mov eax, dword [esi + 0xc]
jmp 0x4237f4
cmp dword [ebp + 8], 0
je 0x4237f7
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x28]
call dword [0x4aced8]
test eax, eax
je 0x4237f7
lea eax, [ebp - 0x144]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x4237af
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x4237ba
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x4237cc
cmp cl, 0xf
je 0x4237cc
xor ecx, ecx
inc ecx
jmp 0x4237ce
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x4237e0
add eax, 0x20
lea ecx, [ebp - 0x44]
cmp eax, ecx
jb 0x4237a5
jmp 0x4237f7
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, 0x4ad684
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, dword [ebp + 0x4c]
test ebx, ebx
je 0x423827
push 0x4986d8
push ebx
call fcn.0048040c
test eax, eax
pop ecx
pop ecx
jne 0x423827
call dword [0x4acec4]
mov word [ebx], ax
mov dword [ebp + 0x2c], eax
push dword [ebp + 0x54]
lea eax, [ebp + 0x5c]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x28]
push dword [ebp + 0x68]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00422215
add esp, 0x24
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x42385f
mov eax, edi
jmp 0x423946
cmp dword [ebp + 0x20], 0
je 0x423876
push dword [ebp + 0x48]
push 0x4986d4
call fcn.00480aee
pop ecx
pop ecx
jmp 0x4238a4
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x423882
mov ecx, str.VM_image
test ebx, ebx
mov eax, str.No_mountpoint
je 0x42388d
mov eax, ebx
push ecx
push eax
push dword [ebp + 0x48]
push str.Created_device__1_u_:__2_ws______3_ws_
push 0x4ab820
call fcn.0040f68d
add esp, 0x14
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x423911
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x4238c5
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x4238e6
push esi
call edi
cmp eax, 3
jne 0x4238e4
lea eax, [esi + 2]
push 0x496c9c
push eax
call fcn.0048040c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4238e6
xor eax, eax
test eax, eax
je 0x423911
push esi
push str.CurRamDisk
mov ecx, 0x4acf10
call fcn.00435749
test byte [ebp + 0x54], 1
jne 0x423911
push dword [ebp + 0x14]
movzx eax, word [esi]
push 1
push eax
call fcn.0040f5ce
add esp, 0xc
mov edi, dword [ebp + 0x2c]
test di, di
je case.0x422cad.114
push 0xffffffffffffffff
push 0x498678
lea ecx, [ebp + 0x24]
call fcn.004403f9
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x24]
push eax
mov ecx, esi
call fcn.00440459
lea ecx, [ebp + 0x24]
call fcn.0043092f
mov eax, dword [esi]
mov word [eax + 2], di
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret