Function at 0x433dc0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16a8
call fcn.0047ca90
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xffffffffffffffeb
push dword [0x4b3e5c]
mov esi, ecx
mov dword [ebp - 0x1684], edx
mov dword [ebp - 0x1670], esi
xor edi, edi
mov dword [ebp - 0x1694], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x23c]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x1694]
or ebx, 0xffffffff
mov dword [ebp - 0x168c], eax
xor esi, esi
mov eax, dword [ebp - 0x1684]
mov dword [ebp - 0x16a0], ecx
movlpd qword [ebp - 0x169c], xmm0
mov dword [ebp - 0x1690], edi
push dword [eax + 0x34]
lea eax, [ebp - 0x41c]
push ecx
push ecx
mov ecx, dword [ebp - 0x1670]
push eax
add ecx, 0x18
call fcn.00431040
mov eax, dword [ebp - 0x1684]
add esp, 0x10
push dword [eax + 0x34]
call fcn.00436270
mov eax, dword [ebp - 0x1684]
lea ecx, [ebp - 0x1690]
push ecx
add eax, 0x10
push esi
push dword [ebp - 0x1694]
mov dword [ebp - 0x16a8], eax
push dword [eax]
call fcn.00436340
test al, al
je 0x4344b8
push esi
push dword [ebp - 0x1690]
call fcn.004370a0
mov ecx, eax
mov dword [ebp - 0x1688], ecx
test ecx, ecx
jne 0x433ec0
mov eax, dword [ebp - 0x1670]
test dword [eax + 0x23c], 0x8000
jne 0x4341fd
nop word [eax + eax]
lea eax, [ebp - 0x141c]
mov dword [ebp - 0x1678], 0
mov dword [ebp - 0x167c], eax
mov eax, dword [0x4b3fb4]
test eax, eax
je 0x433ee9
test byte [eax + 0x40], 1
jne 0x4341cb
mov eax, dword [ebp - 0x1690]
mov esi, 0x1000
cmp ecx, esi
mov dword [ebp - 0x1680], eax
push 0
cmovb esi, ecx
mov dword [ebp - 0x1674], 0
lea ecx, [ebp - 0x1678]
push ecx
push esi
lea ecx, [ebp - 0x141c]
push ecx
push eax
call fcn.00437120
test al, al
jne 0x433f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [ebp - 0x1674], edx
cmp edx, 0x26
jne 0x433f41
xor edx, edx
mov dword [ebp - 0x1674], edx
jmp 0x433f86
test byte [ebp - 0x16a0], 1
je 0x433f7e
push 1
push 0
push esi
push dword [ebp - 0x1680]
call fcn.004373b0
push esi
lea eax, [ebp - 0x141c]
push 0
push eax
call fcn.0047df00
add esp, 0xc
mov dword [ebp - 0x1678], esi
xor edx, edx
mov dword [ebp - 0x1674], edx
jmp 0x433f8c
xor edx, edx
test edx, edx
jne 0x43421a
mov esi, dword [ebp - 0x1678]
cmp ebx, 0xffffffff
jne 0x434127
mov ecx, dword [0x4b3df4]
cmp esi, 0x18
jbe 0x433ff6
test cl, 0x20
je 0x433ff6
cmp word [ebp - 0x141c], 0x18
jne 0x433ff6
mov eax, dword [ebp - 0x1410]
mov edi, dword [ebp - 0x1688]
add eax, 0x18
cmp eax, edi
jne 0x433ff6
cmp byte [ebp - 0x141a], 4
jne 0x433ff6
mov eax, 0x18
mov dword [ebp - 0x1674], edx
lea ebx, [ebp - 0x141c]
sub edi, eax
add ebx, eax
mov dword [ebp - 0x1688], edi
sub esi, eax
mov dword [ebp - 0x167c], ebx
mov dword [ebp - 0x1678], esi
jmp 0x433ffc
mov ebx, dword [ebp - 0x167c]
cmp esi, 8
jbe 0x43407b
test cl, cl
jns 0x43407b
lea ecx, [ebp - 0x41c]
call fcn.00419270
mov esi, eax
test esi, esi
je 0x43407b
push 3
push 0x4a6114
push esi
call fcn.00485aa4
add esp, 0xc
test eax, eax
jne 0x43407b
cmp dword [ebx], 0x5367674f
jne 0x43407b
cmp dword [ebx + 4], 0x200
jne 0x43407b
mov edx, 0x4a7840
mov ecx, 4
sub edx, esi
nop word [eax + eax]
lea eax, [ecx + 0x7ffffffa]
test eax, eax
je 0x43406e
movzx eax, word [esi + edx]
test ax, ax
je 0x43406e
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x434050
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x168c]
xor edi, edi
mov esi, dword [eax + 0x2b4]
lea ebx, [eax + 0x2b4]
add eax, 0x29c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, ebx
je 0x4340eb
nop
lea eax, [ebp - 0x41c]
mov edi, esi
push eax
push dword [esi + 0x1c]
call fcn.0047fa85
mov ecx, dword [esi]
add esp, 8
test eax, eax
je 0x4340d6
mov esi, ecx
cmp esi, ebx
jne 0x4340a0
mov eax, dword [ebp - 0x168c]
add eax, 0x29c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x434105
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp - 0x168c]
add eax, 0x29c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x434105
or dword [edi + 0x34], 1
mov ecx, dword [ebp - 0x1670]
lea edx, [ebp - 0x41c]
call fcn.004339c0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4341d8
mov esi, dword [ebp - 0x1678]
test esi, esi
je 0x434189
push 0
lea eax, [ebp - 0x16a4]
push eax
push esi
push dword [ebp - 0x167c]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x16a4]
cmp eax, dword [ebp - 0x1678]
jne 0x43420d
mov ecx, dword [ebp - 0x1670]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
xor edx, edx
push dword [ecx + 0xc]
push dword [ecx + 8]
call fcn.00415fa0
mov ecx, dword [ebp - 0x1688]
add esp, 8
sub ecx, dword [ebp - 0x1678]
mov dword [ebp - 0x1688], ecx
jne 0x433ec0
mov esi, dword [ebp - 0x1674]
push 0
push 8
lea eax, [ebp - 0x169c]
push eax
push 0x32
push dword [ebp - 0x1690]
call fcn.00438c60
cmp dword [ebp - 0x1698], 0
jne 0x4341b9
cmp dword [ebp - 0x169c], 0
je 0x434220
lea eax, [ebp - 0x169c]
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x434220
mov esi, 0x4c7
mov dword [ebp - 0x1674], esi
jmp 0x434220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x1674], esi
test esi, esi
je 0x43418f
test edi, edi
je 0x4341fd
push edi
push 0
push dword [0x4b2a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x1690]
call fcn.004362e0
jmp 0x4344c0
mov esi, 0x70
mov dword [ebp - 0x1674], esi
jmp 0x434220
mov esi, dword [ebp - 0x1674]
cmp ebx, 0xffffffff
je 0x43422c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x4341ea
mov ecx, dword [ebp - 0x1670]
test dword [ecx + 0x23c], 0x400
je 0x43433f
lea ecx, [ebp - 0x41c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434250
mov eax, dword [ebp - 0x1670]
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
mov ecx, dword [eax + 0x22c]
mov eax, dword [eax + 0x228]
add eax, ebx
cmp eax, ecx
jbe 0x4342c4
lea eax, [ecx + 0x1000]
mov ecx, dword [ebp - 0x1670]
mov dword [ecx + 0x22c], eax
lea eax, [eax*2 + 0x16]
mov ecx, dword [ecx + 0x224]
test ecx, ecx
jne 0x4342ab
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jmp 0x4342b8
push 0x2042
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ecx, dword [ebp - 0x1670]
mov dword [ecx + 0x224], eax
mov eax, dword [ebp - 0x1670]
mov eax, dword [eax + 0x224]
test eax, eax
je 0x434339
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x1670]
test eax, eax
je 0x43433f
mov dword [eax], 0x14
mov dword [eax + 0x10], 1
mov edx, dword [ecx + 0x228]
mov ecx, dword [ecx + 0x22c]
mov dword [ebp - 0x1680], edx
lea edx, [ebp - 0x41c]
push edx
mov edx, dword [ebp - 0x1680]
sub ecx, edx
inc ecx
push ecx
lea eax, [eax + edx*2]
add eax, 0x14
push eax
call fcn.00403260
mov eax, dword [ebp - 0x1670]
push dword [eax + 0x224]
add dword [eax + 0x228], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x1670]
test dword [ecx + 0x23c], 0x800
je 0x4341ea
push 0x250
lea eax, [ebp - 0x166c]
lea ebx, [ecx + 0x10]
push 0
push eax
mov dword [ebp - 0x1680], ebx
call fcn.0047df00
add esp, 0xc
test edi, edi
jne 0x43449e
lea eax, [ebp - 0x166c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4341fd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x41c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4343a3
sub ecx, edx
sar ecx, 1
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x1694]
mov dword [ebp - 0x168c], edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4343c8
sub ecx, edi
add edx, 0x38
lea eax, [ecx + 1]
mov dword [ebp - 0x1688], eax
add eax, edx
push eax
push 8
push dword [0x4b2a38]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4341fd
mov edx, dword [ebp - 0x1654]
xor ecx, ecx
or ecx, dword [ebp - 0x1658]
xor eax, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
or eax, dword [ebp - 0x164c]
mov ecx, dword [ebp - 0x1650]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x1684]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x43445b
nop dword [eax]
mov ebx, eax
mov dword [ebp - 0x1684], ebx
mov eax, dword [ebx + 8]
test eax, eax
jne 0x434440
mov ebx, dword [ebp - 0x1680]
mov ecx, dword [ebp - 0x1684]
push dword [ebp - 0x168c]
lea eax, [ebp - 0x41c]
mov dword [edi + 0x18], ecx
push eax
lea esi, [edi + 0x38]
push esi
call fcn.0047e060
add esp, 0xc
mov dword [edi + 0x1c], esi
add esi, dword [ebp - 0x168c]
push dword [ebp - 0x1688]
push dword [ebp - 0x1694]
push esi
call fcn.0047e060
mov dword [edi + 0x20], esi
add esp, 0xc
mov esi, dword [ebp - 0x1674]
mov eax, dword [ebx + 4]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [eax], edi
push dword [ebp - 0x1690]
mov dword [ebx + 4], edi
call fcn.004362e0
jmp 0x4344c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4345b7
cmp esi, 0x4c7
je 0x4345b7
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [ebp - 0x16a0], 2
je 0x4344fd
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
cmp esi, 0x570
jne 0x434554
mov eax, dword [ebp - 0x16a8]
push dword [eax]
call fcn.00444d70
test al, al
je 0x434554
test byte [0x4b3df0], 2
jne 0x4345b7
mov eax, dword [ebp - 0x1670]
push 0x404070
push 0
push 0x1412
push dword [eax + 0x220]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
cmp esi, 0x15
jne 0x434578
mov eax, dword [ebp - 0x1670]
push 0x4b37d8
push 0x3ef
push 1
push dword [eax + 0x220]
call fcn.00415fe0
jmp 0x4345b4
push 0x208
lea eax, [ebp - 0x41c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1694]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x1670]
push esi
push 0xbb
push dword [eax + 0x220]
call fcn.00416080
add esp, 0x10
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret