Function at 0x5a9d90
Capabilities:
Create thread
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7161b9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea esi, [edi + 0x74]
push 0x400
push esi
push 0x7d4
push dword [edi + 4]
call ebx
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a9de0
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x5a9e2a
mov ecx, str.0000000001
mov edx, esi
sub edx, ecx
lea ecx, [ecx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x5a9e00
push esi
mov ecx, 0x7f76a8
call fcn.00428a30
push esi
push 0x7d4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
mov ecx, 0x7f76a8
call fcn.00428a30
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x7d3
push dword [edi + 4]
call ebx
lea eax, [ebp - 0x810]
mov ecx, 0x7f7694
push eax
call fcn.00428a30
push 0x7f7698
push 0xc072
push dword [edi + 4]
call fcn.00432c40
push 0x7f769c
push 0x7d6
push dword [edi + 4]
call fcn.00432c40
push 0x7f76a4
push 0x7d8
push dword [edi + 4]
call fcn.00432c40
push 0x7f76a0
push 0x7d7
push dword [edi + 4]
call fcn.00432c40
add esp, 0x30
push 0x7d5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + 0x874]
mov dword [ebp - 0x848], eax
call fcn.0042a580
xor esi, esi
cmp dword [ebp - 0x848], esi
jle 0x5a9f8f
lea ebx, [ebx]
lea ecx, [ebp - 0x858]
call fcn.00429050
push 0x400
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c8], 3
mov dword [ebp - 0x8b8], 0x400
call fcn.00428e80
push 0x7d5
push dword [edi + 4]
mov dword [ebp - 0x8bc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x8d0]
push ecx
push esi
push 0x1073
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x858]
push eax
lea ecx, [edi + 0x874]
call fcn.0042a790
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
inc esi
cmp esi, dword [ebp - 0x848]
jl 0x5a9f00
push 0x7f7694
lea ecx, [ebp - 0x86c]
call fcn.00428690
cmp dword [0x7f769c], 0
mov dword [ebp - 4], 1
je 0x5aa18d
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x868]
push eax
call fcn.00428b20
push 0x7856e8
push eax
lea eax, [ebp - 0x860]
mov byte [ebp - 4], 2
push eax
call fcn.00428bd0
push eax
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 3
call fcn.004289a0
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 2
call fcn.00428810
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x86c]
call fcn.00429100
push eax
call fcn.005b6cf0
add esp, 4
test eax, eax
je 0x5aa18d
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x5aa047
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
mov edx, eax
jmp 0x5aa04c
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
cmp word [edx], ax
jne 0x5aa072
xor ecx, ecx
jmp 0x5aa086
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa077
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x840]
call fcn.00424cc0
mov ecx, dword [0x7f7170]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x5aa0b4
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_PLOUTPUT_WORNING2
call dword [eax + 8]
mov edx, eax
jmp 0x5aa0b9
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x5aa0df
xor ecx, ecx
jmp 0x5aa0f3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa0e4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00424cc0
push 0
push 0
push 0
push 0
push 4
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x828]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp eax, 7
sete byte [ebp - 0x859]
cmp dword [ebp - 0x814], 8
jb 0x5aa148
push dword [ebp - 0x828]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
cmp dword [ebp - 0x82c], 8
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 1
jb 0x5aa180
push dword [ebp - 0x840]
call fcn.00428680
add esp, 4
cmp byte [ebp - 0x859], 0
jne 0x5aa30e
mov ecx, 0x7f7694
call fcn.00429100
push eax
call fcn.005b6cf0
add esp, 4
test eax, eax
jne 0x5aa315
push ecx
mov ecx, esp
push 0x7f7694
call fcn.00428690
call fcn.005b1510
add esp, 4
test eax, eax
jne 0x5aa315
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x5aa1e2
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
mov edx, eax
jmp 0x5aa1e7
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
cmp word [edx], ax
jne 0x5aa20d
xor ecx, ecx
jmp 0x5aa221
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa212
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x840]
call fcn.00424cc0
mov ecx, dword [0x7f7170]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x5aa24f
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_PLOUTPUT_ERROR1
call dword [eax + 8]
mov edx, eax
jmp 0x5aa254
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x5aa27a
xor ecx, ecx
jmp 0x5aa28f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00424cc0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x828]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp dword [ebp - 0x814], 8
jb 0x5aa2da
push dword [ebp - 0x828]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
cmp dword [ebp - 0x82c], 8
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
jb 0x5aa30e
push dword [ebp - 0x840]
call fcn.00428680
add esp, 4
xor esi, esi
jmp 0x5aaa7f
mov ecx, 0x7f7694
call fcn.00429100
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.005b3e20
add esp, 8
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x88c]
push ecx
lea ecx, [ebp - 0x894]
push ecx
mov ecx, eax
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00428810
test esi, esi
je 0x5aa7ce
cmp dword [0x7f76a4], 0
mov ecx, dword [ebp - 0x88c]
mov esi, dword [ebp - 0x884]
mov eax, dword [ebp - 0x880]
mov dword [ebp - 0x868], ecx
mov ecx, dword [ebp - 0x888]
mov dword [ebp - 0x854], esi
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x870], ecx
je 0x5aa887
lea ecx, [ebp - 0x858]
call fcn.00429050
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 9
call fcn.00429050
lea ecx, [edi + 0x874]
mov byte [ebp - 4], 0xa
call fcn.00429100
lea ebx, [edi + 0x88c]
mov dword [ebp - 0x874], eax
mov ecx, ebx
call fcn.0042a580
lea esi, [edi + 0x874]
mov dword [ebp - 0x848], 0
mov ecx, esi
call fcn.0042aa30
test eax, eax
jle 0x5aa515
jmp 0x5aa416
lea esi, [edi + 0x874]
lea eax, [ebp - 0x874]
mov ecx, esi
push eax
call fcn.0042aa70
push eax
lea ecx, [ebp - 0x858]
call fcn.004289a0
lea ecx, [ebp - 0x858]
call fcn.00429100
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 0xb
call fcn.004289a0
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 0xa
call fcn.00428810
mov ecx, ebx
call fcn.00429100
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x850], eax
call fcn.00429050
mov ecx, ebx
mov byte [ebp - 4], 0xc
xor esi, esi
call fcn.0042aa30
test eax, eax
jle 0x5aa4d8
lea eax, [ebp - 0x850]
mov ecx, ebx
push eax
call fcn.0042aa70
push eax
lea ecx, [ebp - 0x84c]
call fcn.004289a0
lea ecx, [ebp - 0x84c]
call fcn.00429100
push eax
lea ecx, [ebp - 0x864]
call fcn.00429150
test eax, eax
je 0x5aa5e5
mov ecx, ebx
inc esi
call fcn.0042aa30
cmp esi, eax
jl 0x5aa493
lea eax, [ebp - 0x864]
mov ecx, ebx
push eax
call fcn.0042a790
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xa
call fcn.00428810
mov esi, dword [ebp - 0x848]
lea ecx, [edi + 0x874]
inc esi
mov dword [ebp - 0x848], esi
call fcn.0042aa30
cmp esi, eax
jl 0x5aa410
mov ebx, dword [ebp - 0x860]
cmp ebx, dword [edi + 0x6c]
jg 0x5aa7b0
mov esi, dword [ebp - 0x854]
jl 0x5aa535
cmp esi, dword [edi + 0x68]
jae 0x5aa7b0
lea ecx, [ebp - 0x848]
call fcn.00429050
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0xd
call fcn.00429050
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xe
call fcn.00429050
push dword [ebp - 0x870]
lea eax, [ebp - 0x850]
mov byte [ebp - 4], 0xf
push dword [ebp - 0x868]
mov ecx, edi
push eax
call fcn.005a9230
push eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0x10
call fcn.004289a0
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0xf
call fcn.00428810
push ebx
push esi
lea eax, [ebp - 0x850]
mov ecx, edi
push eax
call fcn.005a9230
push eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0x11
call fcn.004289a0
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0xf
call fcn.00428810
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x5aa605
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_PLOUTPUT_ERROR2
call dword [eax + 8]
jmp 0x5aa60a
lea ecx, [ebp - 0x858]
call fcn.00429100
push eax
call fcn.005b4d00
cdq
add esp, 4
sub dword [edi + 0x68], eax
sbb dword [edi + 0x6c], edx
jmp 0x5aa4e6
mov eax, 0x790eb0
push dword [ebp - 0x854]
push dword [ebp - 0x84c]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0042a0e0
mov ecx, dword [0x7f7170]
add esp, 0x10
test ecx, ecx
je 0x5aa643
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
mov edx, eax
jmp 0x5aa648
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
cmp word [edx], ax
jne 0x5aa66e
xor ecx, ecx
jmp 0x5aa682
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa673
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x840]
call fcn.00424cc0
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x12
call fcn.00429100
mov edx, eax
mov dword [ebp - 0x814], 7
xor eax, eax
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x5aa6c6
xor ecx, ecx
jmp 0x5aa6df
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x5aa6d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa6d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00424cc0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x828]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp dword [ebp - 0x814], 8
jb 0x5aa72a
push dword [ebp - 0x828]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
cmp dword [ebp - 0x82c], 8
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
jb 0x5aa75e
push dword [ebp - 0x840]
call fcn.00428680
add esp, 4
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xe
call fcn.00428810
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0xd
call fcn.00428810
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0xa
call fcn.00428810
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 9
call fcn.00428810
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.00428810
xor esi, esi
jmp 0x5aaa7f
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 9
call fcn.00428810
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.00428810
cmp dword [edi + 0x2c], 0
lea ebx, [edi + 0x2c]
mov dword [edi + 0x34], 0
mov dword [ebp - 0x87c], 0
jne 0x5aaa7a
lea ecx, [edi + 0x874]
call fcn.0042aa30
push eax
mov ecx, edi
call fcn.005aae90
lea eax, [ebp - 0x87c]
push eax
push 0x40
push edi
push 0x5abeb0
push 0
push 0
call fcn.006b8cf3
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x5aa7a9
push 0x1cff
push 0xffffffffffffffff
push 0
push ebx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 1
push 0
push 0
mov esi, eax
lea eax, [ebp - 0x844]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x5aa867
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
test esi, esi
jne 0x5aa820
mov ecx, edi
call fcn.005aab20
mov ecx, edi
cmp dword [edi + 0x34], esi
je 0x5aaa5c
call fcn.005aaac0
jmp 0x5aaa6b
cmp eax, dword [edi + 0x6c]
jg 0x5aa7ce
jl 0x5aa89b
cmp esi, dword [edi + 0x68]
jae 0x5aa7ce
lea ecx, [ebp - 0x84c]
call fcn.00429050
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0x14
call fcn.00429050
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x15
call fcn.00429050
push dword [ebp - 0x870]
lea eax, [ebp - 0x850]
mov byte [ebp - 4], 0x16
push dword [ebp - 0x868]
mov ecx, edi
push eax
call fcn.005a9230
push eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0x17
call fcn.004289a0
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0x16
call fcn.00428810
mov ebx, dword [ebp - 0x860]
lea eax, [ebp - 0x850]
push ebx
push esi
push eax
mov ecx, edi
call fcn.005a9230
push eax
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x18
call fcn.004289a0
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0x16
call fcn.00428810
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x5aa951
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_PLOUTPUT_ERROR2
call dword [eax + 8]
jmp 0x5aa956
mov eax, 0x790eb0
push dword [ebp - 0x854]
push dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.0042a0e0
mov ecx, dword [0x7f7170]
add esp, 0x10
test ecx, ecx
je 0x5aa98d
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
jmp 0x5aa992
mov eax, 0x790eb0
push eax
lea ecx, [ebp - 0x828]
call fcn.00424600
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0x19
call fcn.00429100
push eax
lea ecx, [ebp - 0x840]
call fcn.00424600
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x840]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp dword [ebp - 0x82c], 8
jb 0x5aa9f7
push dword [ebp - 0x840]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
cmp dword [ebp - 0x814], 8
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
jb 0x5aaa2b
push dword [ebp - 0x828]
call fcn.00428680
add esp, 4
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x15
call fcn.00428810
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0x14
call fcn.00428810
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 1
call fcn.00428810
xor esi, esi
jmp 0x5aaa7f
push dword [edi + 0x3c]
call fcn.005aab60
mov ecx, edi
call fcn.005aab00
mov ecx, dword [edi + 0x8a4]
test ecx, ecx
je 0x5aaa7a
call fcn.006a4100
mov esi, 1
lea ecx, [ebp - 0x86c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x10