Function at 0x481b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push esi
push edi
push 1
mov edi, ecx
mov eax, dword [edi + 4]
push eax
push str.Data_files_.txt_.txt
push 2
xor ebx, ebx
push ebx
push 0x672b70
push ebx
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x3c], edi
call fcn.0044b9c0
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x530]
call fcn.004471c0
test eax, eax
jne 0x481c31
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov dword [ebp - method.CSSFileDialog.virtual_0], vtable.CSSFileDialog.0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x481bfa
push eax
call fcn.00611a0b
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x51c]
cmp eax, ebx
je 0x481c19
push eax
call fcn.0060ec68
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x530]
call fcn.0044d7a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00448080
lea eax, [ebp - 0x20]
push 0x672b64
push eax
call fcn.00439380
add esp, 8
test al, al
je 0x481c96
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
push 0x672b64
push eax
lea ecx, [ebp - 0x1c]
call fcn.004490e0
mov edx, dword [ebp - 0x1c]
push 0x672b60
push edx
call fcn.00614a04
add esp, 8
mov dword [ebp - 0x40], eax
cmp eax, ebx
je 0x4820bd
cmp dword [edi + 0x3358], 0
mov dword [ebp - 0x24], ebx
jle 0x4820b4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], eax
jmp 0x481cd0
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
xor ecx, ecx
cmp dword [edi + 0x336c], ecx
push 0
sete cl
push ebx
lea edx, [ebp - 0x48]
mov byte [ebp - 0x28], cl
push edx
lea ecx, [edi + 0x2fb0]
call fcn.0047f4f0
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x34]
call fcn.004078d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481d54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [edi + 0x2fb0]
mov dword [ebp - 0x2c], 2
call fcn.0047f4f0
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.004078d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x481d9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx - 0xc]
lea edx, [eax + eax]
test edx, edx
jne 0x481df5
mov byte [ebp - 4], 0xd
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481de4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.004052c0
jmp 0x4820a1
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401710
push 0x671160
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 0xc]
add ecx, ecx
jne 0x481e3c
push 1
push 0x672aa0
lea ecx, [ebp - 0x30]
call fcn.00401670
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x17
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x32
sub eax, edi
or eax, ecx
jge 0x481e95
push edi
lea ecx, [ebp - 0x14]
call fcn.00401400
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], edi
jl 0x48215f
mov dword [esi - 0xc], edi
xor ecx, ecx
mov edi, 1
mov word [esi + 0x64], cx
cmp dword [esi - 4], edi
jle 0x481ec0
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401370
mov esi, dword [ebp - 0x14]
movzx eax, byte [ebp - 0x28]
push 0xa
push esi
push eax
call fcn.0061259a
add esp, 0xc
test esi, esi
jne 0x481ed8
xor eax, eax
jmp 0x481ef5
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481ee0
sub eax, edx
sar eax, 1
js 0x48215f
cmp eax, dword [esi - 8]
jg 0x48215f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401710
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
push 0
push 0x66eba8
lea ecx, [ebp - 0x14]
call fcn.00401670
mov esi, dword [ebp - 0x14]
cmp dword [esi - 4], edi
jle 0x481f4a
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401370
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
push 0xa
push esi
push eax
call fcn.0061259a
add esp, 0xc
test esi, esi
jne 0x481f61
xor eax, eax
jmp 0x481f7b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481f66
sub eax, edx
sar eax, 1
js 0x48215f
cmp eax, dword [esi - 8]
jg 0x48215f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00401710
push 2
push 0x671784
lea ecx, [ebp - 0x18]
call fcn.00401670
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401710
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
lea edi, [eax + eax]
test edi, edi
je 0x48202c
push 0
push 0
push 0
push 0
push edi
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x482029
lea edx, [ebx + 1]
push edx
call fcn.005fb5ce
add esp, 4
push 0
push 0
push ebx
push eax
push edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x48201d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
push ecx
shr eax, 1
push eax
push 1
push edx
call fcn.006161f6
add esp, 0x10
mov eax, dword [ebp - 0x38]
push eax
call fcn.0060faf6
add esp, 4
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x15
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48204c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48206f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.004052c0
mov edi, dword [ebp - 0x3c]
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, dword [edi + 0x3358]
jl 0x481cd0
mov eax, dword [ebp - 0x40]
push eax
call fcn.0061466b
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4820e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov dword [ebp - method.CSSFileDialog.virtual_0], vtable.CSSFileDialog.0
mov dword [ebp - 4], 0x1d
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x48212b
push eax
call fcn.00611a0b
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x51c]
test eax, eax
je 0x48214a
push eax
call fcn.0060ec68
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.004011d0
int3