Function at 0x42549e
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x1b0
push ebx
xor ebx, ebx
cmp dword [0x4db078], ebx
jne 0x4254bc
or eax, 0xffffffff
jmp 0x426435
xor eax, eax
or dword [ebp + 0x4c], 0xffffffff
push esi
push edi
mov dword [ebp + 0x34], ebx
mov esi, dword [ebp + 0x78]
lea edi, [ebp + 0x38]
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 dword [ebp + 0x74], 2
mov dword [ebp + 0x50], ebx
lea edi, [ebp + 0x54]
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x7c]
mov byte [ebp + 0x63], al
mov eax, dword [edi]
mov ax, word [eax]
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x10], ebx
mov word [ebp], ax
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x1c], 0xfa0
jne 0x4255e8
push 0x4c469c
push dword [esi + 4]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x4255f2
mov eax, dword [0x4db07c]
cmp eax, ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
je 0x425558
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 4]
push ecx
call eax
lea ecx, [ebp + 0x24]
call fcn.00444a10
push 0x3f
lea eax, [ebp + 0x24]
push eax
push 1
call fcn.004139d9
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 0xc
cmp eax, 2
mov esi, 0x4c4694
jne 0x425587
mov esi, str.NotLoad
jmp 0x4255a2
cmp eax, 0xffffffff
jne 0x425593
mov esi, str.CannotControl
jmp 0x4255a2
cmp ecx, ebx
ja 0x4255a2
jb 0x42559d
cmp edx, ebx
ja 0x4255a2
mov esi, str.NotInstall
movzx eax, dl
shrd edx, ecx, 8
push esi
push eax
movsx eax, dx
push eax
movzx eax, byte [ebp - 4]
push eax
mov eax, dword [ebp]
shr ecx, 8
mov ecx, dword [ebp - 4]
shrd ecx, eax, 8
shr eax, 8
movsx eax, cx
push eax
push str._X._02X___X._X__s
push dword [edi]
mov dword [ebp + 0x2c], ecx
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp + 0x24]
call fcn.0043e48d
jmp case.0x425949.114
cmp dword [ebp + 0x74], 1
jle 0x4260b0
dec dword [ebp + 0x74]
add esi, 4
push str.__id
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425613
or dword [ebp + 0x5c], 2
jmp 0x426058
push 0x4c460c
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x42562e
or dword [ebp + 0x5c], 1
jmp 0x426058
push str.__remove
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425649
or dword [ebp + 0x5c], 4
jmp 0x426058
push 0x4c45f0
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425667
mov dword [ebp + 0x64], 5
jmp 0x426058
push str.__hide
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425682
or dword [ebp + 0x5c], 0x10
jmp 0x426058
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 2
pop edi
cmp eax, edi
jne 0x4256a0
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x4256a2
xor eax, eax
cmp eax, ebx
je case.0x425949.114
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x42593d
je 0x4258f7
cmp eax, 0x62
jg 0x425848
je 0x425757
sub eax, 0x44
je 0x4258ca
sub eax, edi
je 0x425871
sub eax, 0xc
je 0x4258ca
dec eax
je 0x42570c
sub eax, 0xe
jne case.0x425949.114
cmp dword [ebp + 0x64], ebx
jne case.0x425949.114
mov dword [ebp + 0x64], 1
jmp 0x426058
xor eax, eax
cmp dword [ebp + 0x48], ebx
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.004adca0
test eax, eax
pop ecx
je case.0x425949.114
push ebx
push ebx
push dword [esi]
call fcn.004adc89
mov dword [ebp + 0x48], eax
jmp 0x426052
mov eax, dword [ebp + 0x50]
or eax, dword [ebp + 0x54]
je 0x425764
xor eax, eax
inc eax
jmp 0x425766
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], ebx
setne cl
xor edx, edx
cmp dword [ebp + 0x64], 1
setne dl
or ecx, edx
xor edx, edx
cmp dword [ebp + 0x74], 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x425949.114
add esi, 4
push 0x4c45d4
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x4257ad
mov dword [ebp + 0xc], 1
jmp 0x426055
mov eax, dword [esi]
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00447dd3
mov eax, dword [ebp + 0x2c]
movzx eax, word [eax]
cmp eax, 0x62
pop ecx
pop ecx
jg 0x4260a9
je 0x425830
sub eax, ebx
je 0x426055
sub eax, 0x47
je 0x425800
sub eax, 4
je 0x425821
dec eax
dec eax
je 0x425812
sub eax, 7
jne 0x4260a9
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x425806
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x50]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x54], ecx
jmp 0x425815
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x425827
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x50]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x42583d
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], ecx
jmp 0x426055
sub eax, 0x64
je 0x4258ca
dec eax
je 0x4258b5
dec eax
je 0x425871
sub eax, 6
jne case.0x425949.114
cmp dword [ebp + 0x64], ebx
jne case.0x425949.114
mov dword [ebp + 0x64], 3
jmp 0x426058
xor eax, eax
cmp dword [ebp + 0x28], ebx
setne al
xor edx, edx
cmp dword [ebp + 0x64], 1
setne dl
or eax, edx
xor edx, edx
cmp dword [ebp + 0x74], 2
setl dl
or eax, edx
jne case.0x425949.114
cmp cx, 0x46
jne 0x4258a2
mov dword [ebp + 8], 1
add esi, 4
push dword [esi]
call fcn.004130a1
pop ecx
mov dword [ebp + 0x28], eax
jmp 0x426055
cmp dword [ebp + 0x64], ebx
jne case.0x425949.114
mov dword [ebp + 0x64], 4
jmp 0x426058
xor eax, eax
cmp dword [ebp + 0x64], ebx
jne 0x426433
inc eax
cmp cx, 0x44
mov dword [ebp + 0x64], edi
jne 0x4258e2
mov dword [ebp + 0x18], eax
cmp cx, 0x52
jne 0x426058
mov dword [ebp + 0x18], eax
mov dword [ebp + 4], eax
jmp 0x426058
xor eax, eax
cmp dword [ebp + 0x4c], 0xffffffff
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 4
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x30], ebx
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x30], eax
jmp 0x426055
sub eax, 0x6e
cmp eax, 0xb
ja case.0x425949.114
jmp dword [eax*4 + 0x42643e]
mov dword [ebp + 0x1c], 1
jmp 0x426058
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 dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
push str.file
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x4259a3
or byte [ebp + 0x69], 1
jmp 0x426055
push 0x4c45c0
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x4259be
or byte [ebp + 0x69], 2
jmp 0x426055
push str.proxy
push dword [esi]
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne case.0x425949.114
or byte [ebp + 0x69], 3
jmp 0x426055
mov dword [ebp + 0x24], 1
jmp 0x426058
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 dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
push 0x4c0cd0
push dword [esi]
jmp 0x425ccd
push 0x4c45ac
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425a44
test byte [ebp + 0x58], 1
jne case.0x425949.114
or dword [ebp + 0x58], 1
or dword [ebp + 0x68], 1
jmp 0x425cc7
push 0x4c45a4
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425a6c
test byte [ebp + 0x58], 1
jne case.0x425949.114
or dword [ebp + 0x58], 1
and dword [ebp + 0x68], 0xfffffffe
jmp 0x425cc7
push 0x4c459c
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425a94
test byte [ebp + 0x58], 2
jne case.0x425949.114
or dword [ebp + 0x58], 2
or dword [ebp + 0x68], 2
jmp 0x425cc7
push 0x4c4594
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425abc
test byte [ebp + 0x58], 2
jne case.0x425949.114
or dword [ebp + 0x58], 2
and dword [ebp + 0x68], 0xfffffffd
jmp 0x425cc7
push str.saved
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425ae8
cmp dword [ebp + 0x64], 4
jne case.0x425949.114
or byte [ebp + 0x5a], 1
and byte [ebp + 0x6a], 0xfe
or dword [ebp + 0x5c], 8
jmp 0x425cc7
cmp dword [ebp + 0x64], 1
jne case.0x425949.114
push 0x4c4580
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425b3d
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.0x425949.114
or byte [ebp + 0x69], 0x20
mov dword [ebp + 8], 1
jmp 0x425cc7
push str.comm
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425b88
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.0x425949.114
or byte [ebp + 0x69], 0x10
mov dword [ebp + 8], 1
jmp 0x425cc7
push 0x4c456c
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425bcc
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.0x425949.114
or byte [ebp + 0x69], 0x30
jmp 0x425cc7
push 0x4c4564
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425c17
mov eax, dword [ebp + 0x68]
and eax, 0xf00
xor ecx, ecx
cmp eax, 0x100
setne cl
xor edx, edx
cmp eax, ebx
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.0x425949.114
or byte [ebp + 0x69], 0x11
jmp 0x425cc7
push 0x4c455c
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425c5f
mov eax, dword [ebp + 0x68]
and eax, 0xf00
xor ecx, ecx
cmp eax, 0x100
setne cl
xor edx, edx
cmp eax, ebx
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.0x425949.114
or byte [ebp + 0x69], 0x21
jmp 0x425cc7
push str.shared
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425c76
or byte [ebp + 0x6a], 2
jmp 0x425cc7
test byte [ebp + 0x68], 0xf0
jne case.0x425949.114
push 0x4c4544
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425c97
or dword [ebp + 0x68], 0x10
jmp 0x425cc7
push 0x4c453c
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x425cae
or dword [ebp + 0x68], 0x20
jmp 0x425cc7
push 0x4c4534
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne case.0x425949.114
or dword [ebp + 0x68], 0x30
push 0x4c0cd0
push ebx
call fcn.004ad9ee
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x425a1c
jmp 0x426055
mov eax, dword [ebp + 0x34]
or eax, dword [ebp + 0x38]
je 0x425cf0
xor eax, eax
inc eax
jmp 0x425cf2
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 dword [ebp + 0x74], 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00447dd3
mov eax, dword [ebp + 0x2c]
movzx eax, word [eax]
cmp eax, 0x54
pop ecx
pop ecx
jg 0x425e00
je 0x425dc0
sub eax, ebx
je 0x425e8a
sub eax, 0x25
je 0x425d69
sub eax, 0x22
je 0x425dcf
sub eax, 4
je 0x425dee
dec eax
dec eax
jne 0x4260a9
mov eax, dword [ebp + 0x34]
jmp 0x425ddf
cmp dword [ebp + 0x38], ebx
jg 0x425d7a
jl 0x425d75
cmp dword [ebp + 0x34], ebx
ja 0x425d7a
xor ecx, ecx
inc ecx
jmp 0x425d7c
xor ecx, ecx
cmp dword [ebp + 0x38], ebx
jl 0x425d8e
jg 0x425d89
cmp dword [ebp + 0x34], 0x64
jb 0x425d8e
xor eax, eax
inc eax
jmp 0x425d90
xor eax, eax
or eax, ecx
jne case.0x425949.114
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push ebx
push dword [ebp - 0x18]
call fcn.004ad070
push ebx
push 0x64
push edx
push eax
call fcn.004acfc0
jmp 0x425e72
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x38]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x425dd5
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x38], ecx
mov ecx, dword [ebp + 0x38]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp + 0x38], ecx
jmp 0x425df1
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x38]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x425e84
sub eax, 0x62
je 0x425e77
sub eax, 5
je 0x425e33
sub eax, 4
je 0x425e61
dec eax
dec eax
je 0x425e4a
sub eax, 7
jne 0x4260a9
push ebx
push 0x3e8
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.004ad070
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], edx
push ebx
push 0x3e8
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.004ad070
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], edx
push ebx
push 0x3e8
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.004ad070
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], edx
push ebx
push 0x3e8
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.004ad070
mov dword [ebp + 0x38], edx
jmp 0x425e87
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x38]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x38], ebx
jg 0x426055
jl 0x425e9e
cmp dword [ebp + 0x34], ebx
jae 0x426055
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp + 0x34]
add eax, dword [ebp - 0x38]
adc dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], eax
js 0x425ec4
jg 0x426055
cmp eax, ebx
jae 0x426055
push 0xb
jmp 0x426263
xor eax, eax
cmp dword [ebp + 0x44], ebx
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.004adca0
test eax, eax
pop ecx
je case.0x425949.114
push ebx
push ebx
push dword [esi]
call fcn.004adc89
mov dword [ebp + 0x44], eax
jmp 0x426052
xor eax, eax
cmp dword [ebp + 0x40], ebx
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.004adca0
test eax, eax
pop ecx
je case.0x425949.114
push ebx
push ebx
push dword [esi]
call fcn.004adc89
mov dword [ebp + 0x40], eax
jmp 0x426052
xor eax, eax
cmp byte [ebp + 0x63], al
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.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.0x425949.114
cmp word [eax + 2], bx
jne case.0x425949.114
mov al, byte [eax]
sub al, 0x30
mov byte [ebp + 0x63], al
jmp 0x426055
xor eax, eax
inc eax
cmp dword [ebp + 0x64], eax
je 0x425fcf
cmp dword [ebp + 0x64], 4
jne 0x425fd1
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x20], ebx
setne cl
xor edx, edx
cmp dword [ebp + 0x74], 2
setl dl
or ecx, edx
or ecx, eax
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
mov dword [ebp + 0x20], eax
jmp 0x426055
xor eax, eax
cmp dword [ebp + 0x30], ebx
setne al
xor ecx, ecx
cmp dword [ebp + 0x64], 4
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x64], 1
setne cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x4c], 0xffffffff
setne cl
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x74], edi
setl cl
or eax, ecx
jne case.0x425949.114
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.004adca0
test eax, eax
pop ecx
je case.0x425949.114
push ebx
push ebx
push dword [esi]
call fcn.004adc89
mov dword [ebp + 0x4c], eax
add esp, 0xc
dec dword [ebp + 0x74]
cmp dword [ebp + 0x74], 1
jg 0x4255f2
cmp dword [ebp + 0x64], 5
jne 0x4260b0
mov eax, dword [ebp + 0x5c]
shr eax, 2
xor ecx, ecx
inc ecx
not eax
and eax, ecx
test byte [ebp + 0x5c], cl
je 0x42607d
mov dword [ebp + 0x1c], ecx
mov ecx, dword [ebp + 0x30]
cmp ecx, ebx
je case.0x425949.114
mov cx, word [ecx]
cmp cx, bx
je case.0x425949.114
push dword [ebp + 0x1c]
push eax
movzx eax, cx
push eax
call fcn.0041384f
add esp, 0xc
jmp case.0x425949.114
push 0xa
jmp 0x426263
mov eax, dword [ebp + 0x64]
xor esi, esi
dec eax
mov dword [ebp + 0x2c], esi
mov ebx, 0x4db0e0
je 0x4261e2
dec eax
je 0x4261ab
dec eax
je 0x42615a
dec eax
jne case.0x425949.114
mov esi, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp esi, 0xffffffff
sete al
xor ecx, ecx
test edi, edi
sete cl
test ecx, eax
jne case.0x425949.114
cmp dword [ebp + 0x58], 0
jne 0x426100
test edi, edi
je 0x426113
push dword [ebp + 0x68]
push dword [ebp + 0x58]
push edi
push esi
call fcn.00413ed2
add esp, 0x10
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x38], 0
jl 0x426134
jg 0x426121
cmp dword [ebp + 0x34], 0
jbe 0x426134
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push edi
push esi
call fcn.004140a7
add esp, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x426433
cmp dword [ebp + 0x20], eax
je 0x426433
push dword [ebp + 0x20]
push edi
push esi
call fcn.0041c304
add esp, 0xc
jmp 0x426350
mov ecx, dword [ebp + 0x7c]
push 0x4c0ee8
call fcn.0044dfe2
xor eax, eax
cmp dword [ebp + 0x4c], 0xffffffff
sete al
xor ecx, ecx
cmp dword [ebp + 0x30], esi
sete cl
test ecx, eax
je 0x426192
push dword [ebp]
push dword [ebp + 0x7c]
push dword [ebp + 0x24]
call fcn.004139d9
add esp, 0xc
jmp 0x426433
push dword [ebp + 0x5c]
push dword [ebp + 0x7c]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
call fcn.00413b93
add esp, 0x10
jmp 0x426433
xor eax, eax
cmp dword [ebp + 0x30], esi
sete al
xor ecx, ecx
or eax, dword [ebp + 4]
cmp dword [ebp + 0x4c], 0xffffffff
sete cl
test ecx, eax
jne case.0x425949.114
push dword [ebp + 0x5c]
push dword [ebp + 0x1c]
push dword [ebp + 4]
push dword [ebp + 0x18]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
call fcn.0041c5d0
add esp, 0x18
jmp 0x426433
cmp dword [ebp + 0xc], esi
je 0x426200
cmp dword [ebp + 0x28], esi
jne 0x4261f3
xor eax, eax
jmp 0x426433
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x28]
call dword [0x4db05c]
push 0x4bfa2c
push str.CurRamDisk
mov ecx, ebx
call fcn.0044414b
cmp byte [ebp + 0x63], 0
je 0x42627a
movzx esi, byte [ebp + 0x63]
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x48]
shl esi, 5
push dword [ebp + 0x28]
lea esi, [ebp + esi - 0x164]
call dword [0x4db060]
test eax, eax
je 0x426261
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor edi, edi
or eax, edx
jne 0x42624e
inc edi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x42625b
xor eax, eax
inc eax
jmp 0x42625d
xor eax, eax
or eax, edi
je 0x426269
push 0xc
pop eax
jmp 0x426433
add dword [ebp + 0x50], ecx
mov eax, dword [esi + 8]
mov dword [ebp + 0x34], eax
adc dword [ebp + 0x54], edx
mov eax, dword [esi + 0xc]
jmp 0x4262ef
cmp dword [ebp + 0xc], esi
je 0x4262f2
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x28]
call dword [0x4db060]
test eax, eax
je 0x4262f2
lea eax, [ebp - 0x144]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x4262aa
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x4262b5
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x4262c7
cmp cl, 0xf
je 0x4262c7
xor ecx, ecx
inc ecx
jmp 0x4262c9
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x4262db
add eax, 0x20
lea ecx, [ebp - 0x44]
cmp eax, ecx
jb 0x4262a0
jmp 0x4262f2
mov ecx, dword [eax]
add dword [ebp + 0x50], ecx
mov ecx, dword [eax + 4]
adc dword [ebp + 0x54], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x38], eax
mov esi, 0x4dbd30
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [ebp + 0x30]
test edi, edi
je 0x426322
push 0x4c4514
push edi
call fcn.004ad37d
test eax, eax
pop ecx
pop ecx
jne 0x426322
call dword [0x4db04c]
mov word [edi], ax
mov dword [ebp + 0x2c], eax
push dword [ebp + 0x5c]
lea eax, [ebp + 0x50]
push dword [ebp + 0x20]
push edi
push dword [ebp + 8]
push dword [ebp + 0x28]
push dword [ebp + 0x68]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00424f91
add esp, 0x24
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x4263b7
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push edi
call esi
cmp eax, 2
jne 0x42636e
xor eax, eax
cmp word [edi + 2], 0x3a
sete al
jmp 0x42638f
push edi
call esi
cmp eax, 3
jne 0x42638d
lea eax, [edi + 2]
push 0x4c2990
push eax
call fcn.004ad37d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x42638f
xor eax, eax
test eax, eax
je 0x4263b7
push edi
push str.CurRamDisk
mov ecx, ebx
call fcn.0044414b
test byte [ebp + 0x5c], 1
jne 0x4263b7
push dword [ebp + 0x1c]
movzx eax, word [edi]
push 1
push eax
call fcn.0041384f
add esp, 0xc
mov ebx, dword [ebp + 0x2c]
test bx, bx
je 0x4263f2
cmp dword [ebp + 0x24], 0
jne 0x4263f2
push 0xffffffffffffffff
push 0x4c4510
lea ecx, [ebp + 0x18]
call fcn.0044dfb0
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x18]
push eax
mov ecx, esi
call fcn.0044e010
lea ecx, [ebp + 0x18]
call fcn.0043e48d
mov eax, dword [esi]
mov word [eax + 2], bx
jmp 0x426430
mov edi, dword [ebp + 0x7c]
push 0x42
mov ecx, edi
call fcn.00444a55
test bx, bx
mov eax, dword [edi]
mov word [eax], 0x2a
je 0x426415
cmp dword [ebp + 0x4c], 0
mov eax, str._d__c:
jge 0x42641a
mov eax, 0x4c023c
movzx ecx, bx
push ecx
push dword [ebp + 0x4c]
push eax
mov eax, dword [edi]
inc eax
inc eax
push eax
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret