Function at 0x411280
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45dcde
mov eax, dword fs:[0]
push eax
sub esp, 0xa84
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0xa80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0xa98]
mov dword fs:[0], eax
mov eax, ecx
shr eax, 0x10
xor ebp, ebp
cmp ax, bp
mov esi, edx
mov dword [esp + 0x34], esi
jne 0x4112da
push ecx
mov ecx, esi
call fcn.004110e0
jmp 0x4117c7
cmp ax, 0x300
jne 0x4117ca
cmp cx, 0x410
jne 0x4117ca
cmp dword [0x472a18], ebp
je 0x4112ff
mov dword [0x472a18], ebp
jmp 0x411312
cmp dword [0x4725e4], 1
jne 0x411312
mov dword [0x4725e4], 2
push 0x206
lea eax, [esp + 0x92]
push ebp
push eax
mov word [esp + 0x98], bp
call fcn.00446fa0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x90]
push ecx
push 0x410
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov edx, dword [0x47500c]
mov eax, dword [0x475008]
push edx
push eax
push str.g_AppConfig.g_nFreeSpace___lld__n
lea ecx, [esp + 0x2a0]
push 0x200
push ecx
mov word [esp + 0xa6], bp
call fcn.004414db
add esp, 0x14
lea ecx, [esp + 0x70]
mov word [esp + 0x692], bp
call fcn.0042bd40
mov dword [esp + 0xaa0], ebp
mov edi, 7
lea eax, [esp + 0x294]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4113b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x298]
push edx
lea esi, [esp + 0x20]
call fcn.00406f80
mov eax, esi
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0x78]
mov byte [esp + 0xaa8], 1
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x411401
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x88], ebx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jae 0x41141f
lea edx, [esp + 0x74]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x41145a
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411430
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0xaa0], 0xffffffff
cmp dword [esp + 0x88], ebx
jb 0x41147b
mov edx, dword [esp + 0x74]
push edx
call fcn.004415cb
add esp, 4
lea edx, [esp + 0x8c]
lea eax, [esp + 0x70]
call fcn.00406ad0
lea eax, [esp + 0x70]
push eax
mov edi, 0x475008
lea ecx, [esp + 0x58]
mov dword [esp + 0xaa4], 2
call fcn.00420370
add esp, 4
mov bl, 4
mov esi, 8
mov byte [esp + 0xaa0], bl
cmp dword [esp + 0x88], esi
jb 0x4114d0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jae 0x4114f6
lea eax, [esp + 0x58]
push eax
push str.TXPubfunc::TXFile::GetInstallDiskFreeSpace__s_n
lea edx, [esp + 0x29c]
push 0x200
push edx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x38]
mov word [esp + 0x692], bp
call fcn.0042bd40
mov byte [esp + 0xaa0], 5
lea eax, [esp + 0x294]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411541
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x298]
push eax
lea esi, [esp + 0x20]
call fcn.00406f80
mov ecx, esi
push ebp
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xaa8], 6
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x411592
mov edx, dword [esp + 0x1c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jae 0x4115ad
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x4115ea
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4115c0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov byte [esp + 0xaa0], bl
cmp dword [esp + 0x50], esi
jb 0x411609
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], ebp
je 0x41179e
mov edx, 0x474100
lea eax, [esp + 0x18]
call fcn.00406ad0
lea ecx, [esp + 0x54]
push ecx
push eax
lea edi, [esp + 0x40]
mov byte [esp + 0xaa8], 7
call fcn.004141f0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa8], 8
call fcn.00406d10
mov ecx, edi
call fcn.00406b10
lea ecx, [esp + 0x18]
mov byte [esp + 0xaa0], bl
call fcn.00406b10
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x411674
lea eax, [esp + 0x58]
push eax
push str.TXPubfunc::TXFile::GetInstallDiskFreeSpace__s_n
lea edx, [esp + 0x69c]
push 0x200
push edx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x38]
mov word [esp + 0xa92], bp
call fcn.0042bd40
mov byte [esp + 0xaa0], 9
mov edi, 7
lea eax, [esp + 0x694]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4116c4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x698]
push eax
lea esi, [esp + 0x20]
call fcn.00406f80
mov ecx, esi
push ebp
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xaa8], 0xa
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x411715
mov edx, dword [esp + 0x1c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jae 0x411730
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x41176a
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411740
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x50], ebx
jb 0x41177d
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x58]
jae 0x41178b
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x38]
push 0x413
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, ebx
mov ecx, dword [esp + 0x34]
push 5
push 0x413
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x6c], esi
jb 0x4117ca
mov edx, dword [esp + 0x58]
push edx
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0xa98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa80]
xor ecx, esp
call fcn.004414cc
add esp, 0xa90
ret