Function at 0x41e76e
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1b0
xor ecx, ecx
cmp dword [0x4a6ee8], ecx
jne 0x41e78b
or eax, 0xffffffff
jmp 0x41f8c8
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 + 0x28], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp], ecx
mov dword [ebp + 0x54], ecx
mov dword [ebp - 4], ecx
mov word [ebp + 0x1c], ax
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x10], 0xfa0
jne 0x41e8b2
push 0x493178
push dword [esi + 4]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e8bb
mov eax, dword [0x4a6eec]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
je 0x41e82c
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp + 4]
push ecx
call eax
lea ecx, [ebp + 0x20]
call fcn.00433c24
push 0x3f
lea eax, [ebp + 0x20]
push eax
push 1
call fcn.0040fa33
add esp, 0xc
cmp eax, 2
mov ecx, 0x493170
jne 0x41e855
mov ecx, str.NotLoad
jmp 0x41e85f
cmp eax, 0xffffffff
jne 0x41e85f
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 + 4]
push eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 4]
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 + 0x28], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp + 0x20]
call fcn.0042eb98
jmp case.0x41ec2f.114
cmp ebx, 1
jle 0x41f51c
xor edi, edi
add esi, 4
push str.__id
push dword [esi]
dec ebx
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e8dc
or dword [ebp + 0x50], 2
jmp 0x41f361
push 0x493100
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e8f7
or dword [ebp + 0x50], 1
jmp 0x41f361
push str.__remove
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e912
or dword [ebp + 0x50], 4
jmp 0x41f361
push 0x4930e4
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e930
mov dword [ebp + 0x64], 5
jmp 0x41f361
push str.__hide
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41e94b
or dword [ebp + 0x50], 0x10
jmp 0x41f361
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x41e967
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x41e969
xor eax, eax
cmp eax, edi
je case.0x41ec2f.114
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x41ec23
je 0x41ebca
cmp eax, 0x62
jg 0x41eb14
je 0x41ea1e
sub eax, 0x44
je 0x41eb95
dec eax
dec eax
je 0x41eb3d
sub eax, 0xc
je 0x41eb95
dec eax
je 0x41e9d3
sub eax, 0xe
jne case.0x41ec2f.114
cmp dword [ebp + 0x64], edi
jne case.0x41ec2f.114
mov dword [ebp + 0x64], 1
jmp 0x41f361
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.0x41ec2f.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0047c618
test eax, eax
pop ecx
je case.0x41ec2f.114
push edi
push edi
push dword [esi]
call fcn.0047c601
mov dword [ebp + 0x44], eax
jmp 0x41f35d
mov eax, dword [ebp + 0x5c]
or eax, dword [ebp + 0x60]
je 0x41ea2b
xor eax, eax
inc eax
jmp 0x41ea2d
xor eax, eax
xor ecx, ecx
cmp dword [ebp], 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.0x41ec2f.114
add esi, 4
push 0x4930c8
push dword [esi]
call fcn.0047bf2c
pop ecx
xor edi, edi
test eax, eax
pop ecx
jne 0x41ea75
mov dword [ebp], 1
jmp 0x41f360
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.0047c3d5
movzx eax, word [ebp + 0x2c]
add esp, 0x10
cmp eax, 0x62
jg 0x41f3b5
je 0x41eafc
sub eax, edi
je 0x41f360
sub eax, 0x47
je 0x41eacc
sub eax, 4
je 0x41eaed
dec eax
dec eax
je 0x41eade
sub eax, 7
jne 0x41f424
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x41ead2
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x60], ecx
jmp 0x41eae1
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x41eaf3
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x41eb09
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 0x41f360
sub eax, 0x64
je 0x41eb95
dec eax
je 0x41eb80
dec eax
je 0x41eb3d
sub eax, 6
jne case.0x41ec2f.114
cmp dword [ebp + 0x64], edi
jne case.0x41ec2f.114
mov dword [ebp + 0x64], 3
jmp 0x41f361
xor eax, eax
cmp dword [ebp + 0x24], 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.0x41ec2f.114
cmp cx, 0x46
jne 0x41eb6d
mov dword [ebp + 0xc], 1
add esi, 4
push dword [esi]
call fcn.0040ec9c
pop ecx
mov dword [ebp + 0x24], eax
jmp 0x41f307
cmp dword [ebp + 0x64], edi
jne case.0x41ec2f.114
mov dword [ebp + 0x64], 4
jmp 0x41f361
cmp dword [ebp + 0x64], edi
jne case.0x41ec2f.114
cmp cx, 0x44
mov dword [ebp + 0x64], 2
jne 0x41ebb2
mov dword [ebp + 0x28], 1
cmp cx, 0x52
jne 0x41f361
xor eax, eax
inc eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 8], eax
jmp 0x41f361
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.0x41ec2f.114
add esi, 4
mov ecx, dword [esi]
mov ax, word [ecx]
cmp ax, 0x61
mov dword [ebp + 0x4c], ecx
jb 0x41f360
cmp ax, 0x7a
ja 0x41f360
and ax, 0xffdf
mov word [ecx], ax
jmp 0x41f360
sub eax, 0x6e
cmp eax, 0xb
ja case.0x41ec2f.114
jmp dword [eax*4 + 0x41f8cd]
mov dword [ebp + 0x10], 1
jmp 0x41f361
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.0x41ec2f.114
add esi, 4
push str.file
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ec89
or byte [ebp + 0x69], 1
jmp 0x41f360
push 0x4930a4
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41eca4
or byte [ebp + 0x69], 2
jmp 0x41f360
push str.proxy
push dword [esi]
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne case.0x41ec2f.114
or byte [ebp + 0x69], 3
jmp 0x41f360
mov dword [ebp + 0x20], 1
jmp 0x41f361
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.0x41ec2f.114
add esi, 4
push 0x49049c
push dword [esi]
jmp 0x41efb4
push 0x493090
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ed2a
test byte [ebp + 0x54], 1
jne case.0x41ec2f.114
or dword [ebp + 0x54], 1
or dword [ebp + 0x68], 1
jmp 0x41efad
push 0x493088
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ed52
test byte [ebp + 0x54], 1
jne case.0x41ec2f.114
or dword [ebp + 0x54], 1
and dword [ebp + 0x68], 0xfffffffe
jmp 0x41efad
push 0x493080
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ed7a
test byte [ebp + 0x54], 2
jne case.0x41ec2f.114
or dword [ebp + 0x54], 2
or dword [ebp + 0x68], 2
jmp 0x41efad
push 0x493078
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41eda2
test byte [ebp + 0x54], 2
jne case.0x41ec2f.114
or dword [ebp + 0x54], 2
and dword [ebp + 0x68], 0xfffffffd
jmp 0x41efad
push str.saved
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41edce
cmp dword [ebp + 0x64], 4
jne case.0x41ec2f.114
or byte [ebp + 0x56], 1
and byte [ebp + 0x6a], 0xfe
or dword [ebp + 0x50], 8
jmp 0x41efad
cmp dword [ebp + 0x64], 1
jne case.0x41ec2f.114
push 0x493064
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ee23
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.0x41ec2f.114
or byte [ebp + 0x69], 0x20
mov dword [ebp + 0xc], 1
jmp 0x41efad
push str.comm
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ee6e
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.0x41ec2f.114
or byte [ebp + 0x69], 0x10
mov dword [ebp + 0xc], 1
jmp 0x41efad
push 0x493050
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41eeb2
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.0x41ec2f.114
or byte [ebp + 0x69], 0x30
jmp 0x41efad
push 0x493048
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41eefd
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.0x41ec2f.114
or byte [ebp + 0x69], 0x11
jmp 0x41efad
push 0x493040
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ef45
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.0x41ec2f.114
or byte [ebp + 0x69], 0x21
jmp 0x41efad
push str.shared
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ef5c
or byte [ebp + 0x6a], 2
jmp 0x41efad
test byte [ebp + 0x68], 0xf0
jne case.0x41ec2f.114
push 0x493028
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ef7d
or dword [ebp + 0x68], 0x10
jmp 0x41efad
push 0x493020
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41ef94
or dword [ebp + 0x68], 0x20
jmp 0x41efad
push 0x493018
push edi
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne case.0x41ec2f.114
or dword [ebp + 0x68], 0x30
push 0x49049c
push 0
call fcn.0047c330
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x41ed02
jmp 0x41f307
mov eax, dword [ebp + 0x30]
or eax, dword [ebp + 0x34]
je 0x41efd7
xor eax, eax
inc eax
jmp 0x41efd9
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.0x41ec2f.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.0047c3d5
movzx eax, word [ebp + 0x2c]
add esp, 0x10
cmp eax, 0x54
jg 0x41f0ec
je 0x41f0ac
sub eax, edi
je 0x41f176
sub eax, 0x25
je 0x41f055
sub eax, 0x22
je 0x41f0bb
sub eax, 4
je 0x41f0da
dec eax
dec eax
jne 0x41f424
mov eax, dword [ebp + 0x30]
jmp 0x41f0cb
cmp dword [ebp + 0x34], edi
jg 0x41f066
jl 0x41f061
cmp dword [ebp + 0x30], edi
ja 0x41f066
xor ecx, ecx
inc ecx
jmp 0x41f068
xor ecx, ecx
cmp dword [ebp + 0x34], edi
jl 0x41f07a
jg 0x41f075
cmp dword [ebp + 0x30], 0x64
jb 0x41f07a
xor eax, eax
inc eax
jmp 0x41f07c
xor eax, eax
or eax, ecx
jne case.0x41ec2f.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.0047b320
push edi
push 0x64
push edx
push eax
call fcn.0047b270
jmp 0x41f15e
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x41f0c1
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 0x41f0dd
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x41f170
sub eax, 0x62
je 0x41f163
sub eax, 5
je 0x41f11f
sub eax, 4
je 0x41f14d
dec eax
dec eax
je 0x41f136
sub eax, 7
jne 0x41f424
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047b320
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047b320
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047b320
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
push edi
push 0x3e8
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.0047b320
mov dword [ebp + 0x34], edx
jmp 0x41f173
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 0x41f360
jl 0x41f18a
cmp dword [ebp + 0x30], edi
jae 0x41f360
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 0x41f1ae
jg 0x41f360
cmp dword [ebp + 0x30], edi
jae 0x41f360
xor ecx, ecx
cmp ecx, 0x100
mov edi, 0x400
mov esi, 0x100000
mov edx, 0x40000000
jb 0x41f443
ja 0x41f1d5
test eax, eax
jb 0x41f443
mov ebx, 0x493004
jmp 0x41f473
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.0x41ec2f.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0047c618
test eax, eax
pop ecx
je case.0x41ec2f.114
push edi
push edi
push dword [esi]
call fcn.0047c601
mov dword [ebp + 0x40], eax
jmp 0x41f35d
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.0x41ec2f.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0047c618
test eax, eax
pop ecx
je case.0x41ec2f.114
push edi
push edi
push dword [esi]
call fcn.0047c601
mov dword [ebp + 0x3c], eax
jmp 0x41f35d
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.0x41ec2f.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.0x41ec2f.114
cmp word [eax + 2], di
jne case.0x41ec2f.114
mov al, byte [eax]
sub al, 0x30
mov byte [ebp + 0x5b], al
jmp 0x41f360
xor eax, eax
inc eax
cmp dword [ebp + 0x64], eax
je 0x41f2e3
cmp dword [ebp + 0x64], 4
jne 0x41f2e5
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x14], edi
setne cl
xor edx, edx
cmp ebx, 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x41ec2f.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
dec ebx
xor edi, edi
jmp 0x41f361
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.0x41ec2f.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0047c618
test eax, eax
pop ecx
je case.0x41ec2f.114
push edi
push edi
push dword [esi]
call fcn.0047c601
mov dword [ebp + 0x48], eax
add esp, 0xc
dec ebx
cmp ebx, 1
jg 0x41e8bd
cmp dword [ebp + 0x64], 5
jne 0x41f51c
mov eax, dword [ebp + 0x50]
shr eax, 2
xor ecx, ecx
inc ecx
not eax
and eax, ecx
test byte [ebp + 0x50], cl
je 0x41f389
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je case.0x41ec2f.114
mov cx, word [ecx]
test cx, cx
je case.0x41ec2f.114
push dword [ebp + 0x10]
push eax
movzx eax, cx
push eax
call fcn.0040f320
add esp, 0xc
jmp case.0x41ec2f.114
sub eax, 0x67
je 0x41f3df
sub eax, 4
je 0x41f40d
dec eax
dec eax
je 0x41f3f6
sub eax, 7
jne 0x41f424
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047b320
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047b320
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047b320
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
push edi
push 0x3e8
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0047b320
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 0x4a5840
call fcn.0047bd6d
add esp, 0xc
push 0xa
pop eax
jmp 0x41f8c5
cmp eax, edx
jb 0x41f44e
mov ebx, 0x492fd8
jmp 0x41f473
cmp eax, esi
jb 0x41f459
mov ebx, 0x492fd4
jmp 0x41f473
cmp eax, edi
jb 0x41f464
mov ebx, 0x492fd0
jmp 0x41f473
cmp eax, 1
mov ebx, str.byte
je 0x41f473
mov ebx, 0x492fc0
cmp ecx, 0x100
jb 0x41f499
ja 0x41f481
test eax, eax
jb 0x41f499
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x41f491
fadd qword [0x492fb8]
fmul qword [0x492fb0]
jmp 0x41f4fd
cmp eax, edx
jb 0x41f4b5
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x41f4ad
fadd qword [0x492fb8]
fmul qword [0x492fa8]
jmp 0x41f497
cmp eax, esi
jb 0x41f4d1
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x41f4c9
fadd qword [0x492fb8]
fmul qword [0x492fa0]
jmp 0x41f497
cmp eax, edi
jb 0x41f4ed
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x41f4e5
fadd qword [0x492fb8]
fmul qword [0x492f98]
jmp 0x41f497
test eax, eax
mov dword [ebp + 0x1c], eax
fild dword [ebp + 0x1c]
jge 0x41f4fd
fadd qword [0x492fb8]
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 0x4a5840
call fcn.0047bd6d
add esp, 0x14
push 0xb
jmp 0x41f43d
mov eax, dword [ebp + 0x64]
xor ecx, ecx
dec eax
mov dword [ebp + 0x2c], ecx
je 0x41f650
dec eax
je 0x41f618
dec eax
je 0x41f5c7
dec eax
jne case.0x41ec2f.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.0x41ec2f.114
cmp dword [ebp + 0x54], ecx
je 0x41f577
push dword [ebp + 0x68]
push dword [ebp + 0x54]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040fecb
add esp, 0x10
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp + 0x34], ecx
jl 0x41f59c
jg 0x41f583
cmp dword [ebp + 0x30], ecx
jbe 0x41f59c
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.00410101
add esp, 0x10
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp eax, ecx
jne 0x41f8c5
cmp dword [ebp + 0x14], ecx
je 0x41f8c5
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x4c]
push esi
push dword [ebp + 0x48]
call fcn.00417b0b
add esp, 0xc
jmp 0x41f826
mov ecx, dword [ebp + 0x7c]
push 0x492934
call fcn.0043de31
xor eax, eax
cmp dword [ebp + 0x48], 0xffffffff
sete al
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
sete cl
test ecx, eax
je 0x41f5ff
push dword [ebp + 0x1c]
push dword [ebp + 0x7c]
push dword [ebp + 0x20]
call fcn.0040fa33
add esp, 0xc
jmp 0x41f8c5
push dword [ebp + 0x50]
push dword [ebp + 0x7c]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040fb43
add esp, 0x10
jmp 0x41f8c5
xor eax, eax
cmp dword [ebp + 0x4c], ecx
sete al
xor ecx, ecx
or eax, dword [ebp + 8]
cmp dword [ebp + 0x48], 0xffffffff
sete cl
test ecx, eax
jne case.0x41ec2f.114
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x28]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040f59b
add esp, 0x14
jmp 0x41f8c5
cmp dword [ebp], ecx
je 0x41f66c
cmp dword [ebp + 0x24], 0
je case.0x41ec2f.114
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x24]
call dword [0x4a6ecc]
push 0x496134
push str.CurRamDisk
mov ecx, 0x4a6f08
call fcn.004335ed
cmp byte [ebp + 0x5b], 0
je 0x41f6fd
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 + 0x24]
call dword [0x4a6ed0]
test eax, eax
je 0x41f6e5
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor ebx, ebx
or eax, edx
jne 0x41f6bf
inc ebx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x41f6cc
xor eax, eax
inc eax
jmp 0x41f6ce
xor eax, eax
or eax, ebx
je 0x41f6ec
push edi
push str.Error:_Partition__i_is_not_defined._n
push 0x4a5840
call fcn.0047bd6d
add esp, 0xc
push 0xc
jmp 0x41f43d
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 0x41f773
cmp dword [ebp], 0
je 0x41f776
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x24]
call dword [0x4a6ed0]
test eax, eax
je 0x41f776
lea eax, [ebp - 0x144]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x41f72e
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x41f739
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x41f74b
cmp cl, 0xf
je 0x41f74b
xor ecx, ecx
inc ecx
jmp 0x41f74d
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x41f75f
add eax, 0x20
lea ecx, [ebp - 0x44]
cmp eax, ecx
jb 0x41f724
jmp 0x41f776
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, 0x4a7658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0x4c]
test ebx, ebx
je 0x41f7a6
push 0x492f00
push ebx
call fcn.0047bf2c
test eax, eax
pop ecx
pop ecx
jne 0x41f7a6
call dword [0x4a6ec0]
mov word [ebx], ax
mov dword [ebp + 0x2c], eax
push dword [ebp + 0x50]
lea eax, [ebp + 0x5c]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x24]
push dword [ebp + 0x68]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0041e1b7
add esp, 0x24
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x41f7de
mov eax, edi
jmp 0x41f8c5
cmp dword [ebp + 0x20], 0
je 0x41f7f5
push dword [ebp + 0x48]
push 0x492efc
call fcn.0047c2ca
pop ecx
pop ecx
jmp 0x41f823
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x41f801
mov ecx, str.VM_image
test ebx, ebx
mov eax, str.No_mountpoint
je 0x41f80c
mov eax, ebx
push ecx
push eax
push dword [ebp + 0x48]
push str.Created_device__1_u_:__2_ws______3_ws_
push 0x4a5820
call fcn.0040f3d7
add esp, 0x14
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x41f890
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x41f844
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x41f865
push esi
call edi
cmp eax, 3
jne 0x41f863
lea eax, [esi + 2]
push 0x491708
push eax
call fcn.0047bf2c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x41f865
xor eax, eax
test eax, eax
je 0x41f890
push esi
push str.CurRamDisk
mov ecx, 0x4a6f08
call fcn.004335ed
test byte [ebp + 0x50], 1
jne 0x41f890
push dword [ebp + 0x10]
movzx eax, word [esi]
push 1
push eax
call fcn.0040f320
add esp, 0xc
mov edi, dword [ebp + 0x2c]
test di, di
je case.0x41ec2f.114
push 0xffffffffffffffff
push 0x492ea0
lea ecx, [ebp + 0x28]
call fcn.0043ddff
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x28]
push eax
mov ecx, esi
call fcn.0043de5f
lea ecx, [ebp + 0x28]
call fcn.0042eb98
mov eax, dword [esi]
mov word [eax + 2], di
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret