Function at 0x40d826
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
xor ecx, ecx
cmp dword [0x48ae98], ecx
jne 0x40d83e
or eax, 0xffffffff
leave
ret
or dword [ebp - 0x1c], 0xffffffff
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x34], ecx
lea edi, [ebp - 0x30]
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
xor ebx, ebx
cmp dword [ebp + 8], 2
lea edi, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], ecx
jne 0x40d8a5
push str.__version
push dword [esi + 4]
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40d8af
jmp 0x40e3e3
cmp dword [ebp + 8], 1
jle 0x40debb
mov ebx, 0x3e8
xor edi, edi
dec dword [ebp + 8]
add esi, 4
push dword [esi]
call fcn.0046176a
cmp eax, 2
pop ecx
jne 0x40d8d8
mov eax, dword [esi]
xor ecx, ecx
cmp word [eax], 0x2d
sete cl
mov eax, ecx
jmp 0x40d8da
xor eax, eax
cmp eax, edi
je 0x40deac
mov eax, dword [esi]
mov cx, word [eax + 2]
movzx eax, cx
cmp eax, 0x6d
jg 0x40da95
je 0x40da88
cmp eax, 0x62
jg 0x40da16
je 0x40d956
sub eax, 0x44
je 0x40da5c
dec eax
dec eax
je 0x40da36
sub eax, 0xc
je 0x40da5c
dec eax
je 0x40d937
sub eax, 0xe
jne 0x40deac
mov dword [ebp - 0x40], 1
jmp 0x40deac
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00462a58
push edi
push edi
push dword [esi]
call fcn.00462a41
mov dword [ebp - 0x20], eax
jmp 0x40dea6
add esi, 4
push str.auto
push dword [esi]
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40d977
mov dword [ebp - 0x5c], 1
jmp 0x40dea9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push str._I64u_c
push dword [esi]
mov dword [ebp - 0x18], edi
call fcn.00462815
movzx eax, word [ebp - 0x18]
add esp, 0x10
cmp eax, 0x62
jg 0x40dee5
je 0x40d9fe
sub eax, edi
je 0x40dea9
sub eax, 0x47
je 0x40d9ce
sub eax, 4
je 0x40d9ef
dec eax
dec eax
je 0x40d9e0
sub eax, 7
jne 0x40df44
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x40d9d4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp - 8], ecx
jmp 0x40d9e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x40d9f5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x40da0b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x40dea9
sub eax, 0x64
je 0x40da5c
dec eax
je 0x40da50
dec eax
je 0x40da36
sub eax, 6
jne 0x40deac
mov dword [ebp - 0x40], 3
jmp 0x40deac
cmp cx, 0x46
jne 0x40da43
mov dword [ebp - 0x50], 1
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
jmp 0x40dea9
mov dword [ebp - 0x40], 4
jmp 0x40deac
cmp cx, 0x44
mov dword [ebp - 0x40], 2
jne 0x40da70
mov dword [ebp - 0x3c], 1
cmp cx, 0x52
jne 0x40deac
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], eax
jmp 0x40deac
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
jmp 0x40dea9
cmp eax, 0x74
jg 0x40de37
je 0x40dde6
sub eax, 0x6e
je 0x40ddda
dec eax
je 0x40dc6f
dec eax
je 0x40dc62
sub eax, 3
jne 0x40deac
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
add esi, 4
push str._I64i_c
push dword [esi]
mov dword [ebp - 0x18], edi
call fcn.00462815
movzx eax, word [ebp - 0x18]
add esp, 0x10
cmp eax, 0x54
jg 0x40db79
je 0x40db3c
sub eax, edi
je 0x40dbf3
sub eax, 0x25
je 0x40db14
sub eax, 0x22
je 0x40db4b
sub eax, 4
je 0x40db6a
dec eax
dec eax
jne 0x40df44
mov eax, dword [ebp - 0x34]
jmp 0x40db5b
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push edi
push dword [ebp - 0x70]
call fcn.00462a80
push edi
push 0x64
push edx
push eax
call fcn.00462660
jmp 0x40dbdb
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x40db51
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp - 0x30], ecx
jmp 0x40db6d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
shld ecx, eax, 0xa
shl eax, 0xa
jmp 0x40dbed
sub eax, 0x62
je 0x40dbe0
sub eax, 5
je 0x40dba8
sub eax, 4
je 0x40dbce
dec eax
dec eax
je 0x40dbbb
sub eax, 7
jne 0x40df44
push edi
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00462a80
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push edi
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00462a80
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push edi
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00462a80
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push edi
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00462a80
mov dword [ebp - 0x30], edx
jmp 0x40dbf0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
shld ecx, eax, 9
shl eax, 9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x30], edi
jg 0x40dea9
jl 0x40dc07
cmp dword [ebp - 0x34], edi
jae 0x40dea9
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp - 0x90]
add dword [ebp - 0x34], eax
adc dword [ebp - 0x30], edi
js 0x40dc31
jg 0x40dea9
cmp dword [ebp - 0x34], edi
jae 0x40dea9
xor ecx, ecx
cmp ecx, 0x100
mov edi, 0x400
mov esi, 0x100000
mov edx, 0x40000000
jb 0x40df63
ja 0x40dc58
test eax, eax
jb 0x40df63
mov ebx, 0x4778fc
jmp 0x40df93
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x4c], eax
jmp 0x40dea9
add esi, 4
push 0x476260
push dword [esi]
jmp 0x40ddc1
push 0x477b70
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dc9c
or dword [ebp - 0x14], 1
or dword [ebp - 4], 1
jmp 0x40ddba
push 0x477b68
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dcba
or dword [ebp - 0x14], 1
and dword [ebp - 4], 0xfffffffe
jmp 0x40ddba
push 0x477b60
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dcd8
or dword [ebp - 0x14], 2
or dword [ebp - 4], 2
jmp 0x40ddba
push 0x477b58
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dcf6
or dword [ebp - 0x14], 2
and dword [ebp - 4], 0xfffffffd
jmp 0x40ddba
push str.saved
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dd14
or byte [ebp - 0x12], 1
and byte [ebp - 2], 0xfe
jmp 0x40ddba
cmp dword [ebp - 0x40], 1
jne 0x40ddba
push 0x477b44
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dd3c
or byte [ebp - 3], 0x20
mov dword [ebp - 0x50], 1
jmp 0x40ddba
push str.comm
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dd5a
or byte [ebp - 3], 0x10
mov dword [ebp - 0x50], 1
jmp 0x40ddba
push 0x477b30
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dd71
or byte [ebp - 3], 0x30
jmp 0x40ddba
test byte [ebp - 4], 0xf0
jne 0x40ddba
push 0x477b28
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dd8e
or dword [ebp - 4], 0x10
jmp 0x40ddba
push 0x477b20
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dda5
or dword [ebp - 4], 0x20
jmp 0x40ddba
push 0x477b18
push edi
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40ddba
or dword [ebp - 4], 0x30
push 0x476260
push 0
call fcn.00462770
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x40dc7e
dec dword [ebp + 8]
jmp 0x40deac
mov dword [ebp - 0x58], 1
jmp 0x40deac
add esi, 4
push str.file
push dword [esi]
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40de04
or byte [ebp - 3], 1
jmp 0x40dea9
push 0x477b04
push dword [esi]
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40de1f
or byte [ebp - 3], 2
jmp 0x40dea9
push str.proxy
push dword [esi]
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40dea9
or byte [ebp - 3], 3
jmp 0x40dea9
sub eax, 0x75
je 0x40de8c
dec eax
je 0x40de7e
dec eax
dec eax
je 0x40de62
dec eax
jne 0x40deac
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00462a58
push edi
push edi
push dword [esi]
call fcn.00462a41
mov dword [ebp - 0x28], eax
jmp 0x40dea6
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00462a58
push edi
push edi
push dword [esi]
call fcn.00462a41
mov dword [ebp - 0x24], eax
jmp 0x40dea6
add esi, 4
mov eax, dword [esi]
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0xd], al
jmp 0x40dea9
add esi, 4
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.00462a58
push edi
push edi
push dword [esi]
call fcn.00462a41
mov dword [ebp - 0x1c], eax
add esp, 0x10
dec dword [ebp + 8]
cmp dword [ebp + 8], 1
jg 0x40d8b6
mov ebx, dword [ebp - 0x54]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x18], ecx
je 0x40e0f0
dec eax
je 0x40e0d9
dec eax
je 0x40e090
dec eax
je 0x40e03c
or eax, 0xffffffff
jmp 0x40e3e5
sub eax, 0x67
je 0x40df0b
sub eax, 4
je 0x40df31
dec eax
dec eax
je 0x40df1e
sub eax, 7
jne 0x40df44
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00462a80
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00462a80
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00462a80
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00462a80
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
movzx eax, word [ebp - 0x18]
push eax
push 0x477ad0
push 0x489840
call fcn.00462250
add esp, 0xc
push 0xa
pop eax
jmp 0x40e3e5
cmp eax, edx
jb 0x40df6e
mov ebx, 0x4778f8
jmp 0x40df93
cmp eax, esi
jb 0x40df79
mov ebx, 0x4778f4
jmp 0x40df93
cmp eax, edi
jb 0x40df84
mov ebx, 0x4778f0
jmp 0x40df93
cmp eax, 1
mov ebx, str.byte
je 0x40df93
mov ebx, 0x4778e0
cmp ecx, 0x100
jb 0x40dfb9
ja 0x40dfa1
test eax, eax
jb 0x40dfb9
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x40dfb1
fadd qword [0x477ac8]
fmul qword [0x4778d8]
jmp 0x40e01d
cmp eax, edx
jb 0x40dfd5
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x40dfcd
fadd qword [0x477ac8]
fmul qword [0x4778d0]
jmp 0x40dfb7
cmp eax, esi
jb 0x40dff1
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x40dfe9
fadd qword [0x477ac8]
fmul qword [0x4778c8]
jmp 0x40dfb7
cmp eax, edi
jb 0x40e00d
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x40e005
fadd qword [0x477ac8]
fmul qword [0x4778c0]
jmp 0x40dfb7
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x40e01d
fadd qword [0x477ac8]
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 0x489840
call fcn.00462250
add esp, 0x14
push 0xb
jmp 0x40df5d
cmp dword [ebp - 0x14], ecx
je 0x40e057
push dword [ebp - 4]
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x1c]
call fcn.0040d3ac
add esp, 0x10
xor ecx, ecx
jmp 0x40e05a
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], ecx
jl 0x40e07a
jg 0x40e066
cmp dword [ebp - 0x34], ecx
jbe 0x40e07a
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push ebx
push dword [ebp - 0x1c]
call fcn.0040d5e4
add esp, 0x10
xor ecx, ecx
cmp eax, ecx
jne 0x40e3e5
cmp dword [ebp - 0x4c], ecx
jne 0x40e2be
jmp 0x40e3e5
mov ecx, dword [ebp + 0x10]
push 0x477a70
call fcn.0042a1b7
push dword [ebp + 0x10]
xor eax, eax
cmp dword [ebp - 0x1c], 0xffffffff
sete al
xor ecx, ecx
test ebx, ebx
sete cl
test ecx, eax
je 0x40e0c8
push dword [ebp - 0x58]
call fcn.0040cf13
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x40e3e5
push ebx
push dword [ebp - 0x1c]
call fcn.0040cfb8
add esp, 0xc
jmp 0x40e3e5
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x1c]
call fcn.0040c9db
add esp, 0x10
jmp 0x40e3e5
cmp dword [ebp - 0x5c], ecx
je 0x40e108
cmp dword [ebp - 0x38], 0
je 0x40e108
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x38]
call dword [0x48ae7c]
push 0x4758e0
push str.CurRamDisk
mov ecx, 0x48aec0
call fcn.00428e1b
cmp byte [ebp - 0xd], 0
je 0x40e19c
movzx edi, byte [ebp - 0xd]
mov eax, edi
shl eax, 5
lea esi, [ebp + eax - 0x1bc]
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x38]
call dword [0x48ae80]
test eax, eax
je 0x40e181
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
xor ebx, ebx
or eax, edx
jne 0x40e15b
inc ebx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x40e168
xor eax, eax
inc eax
jmp 0x40e16a
xor eax, eax
or eax, ebx
je 0x40e188
push edi
push str.Error:_Partition__i_is_not_defined._n
push 0x489840
call fcn.00462250
add esp, 0xc
push 0xc
jmp 0x40df5d
add dword [ebp - 0xc], ecx
mov eax, dword [esi + 8]
mov ebx, dword [ebp - 0x54]
adc dword [ebp - 8], edx
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xc]
jmp 0x40e215
cmp dword [ebp - 0x5c], 0
je 0x40e218
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x38]
call dword [0x48ae80]
test eax, eax
je 0x40e218
lea eax, [ebp - 0x19c]
mov ecx, dword [eax]
xor edx, edx
or ecx, dword [eax + 4]
je 0x40e1cd
inc edx
mov ecx, dword [eax + 8]
xor esi, esi
or ecx, dword [eax + 0xc]
je 0x40e1d8
inc esi
mov cl, byte [eax + 0x18]
cmp cl, 5
je 0x40e1ea
cmp cl, 0xf
je 0x40e1ea
xor ecx, ecx
inc ecx
jmp 0x40e1ec
xor ecx, ecx
and ecx, esi
test edx, ecx
jne 0x40e201
add eax, 0x20
lea ecx, [ebp - 0x9c]
cmp eax, ecx
jb 0x40e1c3
jmp 0x40e218
mov ecx, dword [eax]
add dword [ebp - 0xc], ecx
mov ecx, dword [eax + 4]
adc dword [ebp - 8], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov esi, 0x48b5d4
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0x477a28
push ebx
call fcn.0046247f
test eax, eax
pop ecx
pop ecx
jne 0x40e241
call dword [0x48ae70]
mov word [ebx], ax
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0x50]
lea eax, [ebp - 0xc]
push dword [ebp - 0x38]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c42d
add esp, 0x1c
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x40e273
mov eax, edi
jmp 0x40e3e5
cmp dword [ebp - 0x58], 0
je 0x40e28a
push dword [ebp - 0x1c]
push 0x477a24
call fcn.0046270a
pop ecx
pop ecx
jmp 0x40e2b8
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x40e296
mov ecx, str.VM_image
test ebx, ebx
mov eax, str.No_mountpoint
je 0x40e2a1
mov eax, ebx
push ecx
push eax
push dword [ebp - 0x1c]
push str.Created_device__1_u_:__2_ws______3_ws_
push 0x489820
call fcn.0040c2ea
add esp, 0x14
cmp dword [ebp - 0x4c], 0
je 0x40e2d1
test ebx, ebx
je 0x40e3b0
push dword [ebp - 0x4c]
push ebx
call fcn.0040c8c4
pop ecx
pop ecx
test ebx, ebx
je 0x40e3b0
push ebx
call fcn.0046176a
cmp eax, 2
pop ecx
jne 0x40e2f1
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x40e316
push ebx
call fcn.0046176a
cmp eax, 3
pop ecx
jne 0x40e314
push 0x4774a0
add ebx, 2
push ebx
call fcn.0046247f
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x40e316
xor eax, eax
test eax, eax
je 0x40e3b0
xor eax, eax
mov dword [ebp - 0x70], 0x14
mov dword [ebp - 0x6c], 2
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov cx, word [eax]
xor edx, edx
inc edx
push eax
push str.CurRamDisk
sub ecx, 0x41
shl edx, cl
mov ecx, 0x48aec0
mov dword [ebp - 0x64], edx
call fcn.00428e1b
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [ebp - 0x48]
push eax
push 0xfa0
push 3
lea eax, [ebp - 0x70]
push eax
push 0x8000
mov ebx, 0x219
push ebx
mov edi, 0xffff
push edi
call esi
lea eax, [ebp - 0x48]
push eax
push 0xfa0
push 3
lea eax, [ebp - 0x70]
push eax
push 0x8000
push ebx
push edi
mov word [ebp - 0x60], 1
call esi
lea eax, [ebp - 0x48]
push eax
push 0xfa0
push 3
push 0
push 7
push ebx
push edi
call esi
mov edi, dword [ebp - 0x18]
test di, di
je 0x40e3e3
push 0xffffffffffffffff
push 0x4779c8
lea ecx, [ebp - 0x3c]
call fcn.00424642
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0042a1e5
lea ecx, [ebp - 0x3c]
call fcn.00424686
mov eax, dword [esi]
mov word [eax + 2], di
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret