Function at 0x41b8f0
Capabilities:
Delete file
Encode data using xor
Get file size
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43bf61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x560
mov eax, dword [0x44b754]
mov ecx, dword [ebp + 0x18]
xor eax, ebp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x560], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp esi, ecx
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x38], esi
je 0x41c333
cmp eax, ecx
je 0x41c333
cmp dword [esi + 0x24], 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
jb 0x41b96e
mov eax, dword [esi + 0x10]
jmp 0x41b971
lea eax, [esi + 0x10]
push ecx
push ecx
push 3
push ecx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c333
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [edi]
push 0
push 0
mov dword [esp + 0x8c], ecx
push 0
add ecx, eax
push ebx
mov dword [esp + 0x98], eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [esp + 0x34]
push edx
push 8
lea eax, [esp + 0xa4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
je 0x41ba19
cmp dword [esi + 0x24], 0x10
jb 0x41b9ee
mov esi, dword [esi + 0x10]
jmp 0x41b9f1
add esi, 0x10
push esi
push str.Skip_:_Aleady_converted__s
push 0x44c660
call fcn.00401330
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
mov byte [edx], 0
mov al, 1
jmp 0x41c335
xor eax, eax
mov byte [esp + 0x160], 0
mov ecx, 0xff
lea edi, [esp + 0x161]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [esi + 0x24], 0x10
jb 0x41ba3f
mov ecx, dword [esi + 0x10]
jmp 0x41ba42
lea ecx, [esi + 0x10]
lea edx, [esp + 0x160]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41ba50
mov esi, dword [esi + 0x20]
mov ecx, dword [str..new]
mov dl, byte [0x440034]
push 0
push 0x10000080
push 2
push 0
lea eax, [esp + esi + 0x170]
mov dword [eax], ecx
push 3
mov byte [eax + 4], dl
push 0x10000000
lea eax, [esp + 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c333
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
push 0x440028
push esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x42], 2
mov byte [esp + 0x43], 0
mov byte [esp + 0x37], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [esp + 0x10]
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x3a]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x10]
push 0
add edi, ecx
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x3b]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
push 0
add edi, eax
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x2f]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x10]
push 0
add edi, edx
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x2f]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push 0
mov byte [eax + 8], cl
mov byte [eax + 9], ch
lea ecx, [esp + 0x34]
push ecx
push 0x1f8
add eax, 0x50
push eax
push ebx
add edi, edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x30]
add dword [esp + 0x3c], edx
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push 0x1f8
add eax, 0x50
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [esp + 0x10]
mov dword [esp + 0x18], edi
nop
lea ecx, [esp + 0xa0]
call fcn.0041cb80
mov eax, dword [esp + 0x3c]
push 0
push 0
push eax
push ebx
mov dword [esp + 0x584], 0
mov dword [esp + 0xb0], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x34]
push ecx
push 0x20
lea edx, [esp + 0xb0]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
add ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc4], eax
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
add edx, 0x20
test eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0
jbe 0x41c1bf
mov edi, dword [esp + 0x8c]
mov ecx, edi
call fcn.00404e10
test al, al
jne 0x41c2ed
mov eax, dword [ebp + 0x1c]
fild dword [ebp + 0x1c]
test eax, eax
mov edi, dword [edi + 0x2c]
jge 0x41bc4b
fadd dword [0x440024]
mov ecx, dword [esp + 0x88]
fild dword [esp + 0x88]
test ecx, ecx
jge 0x41bc63
fadd dword [0x440024]
mov edx, dword [esp + 0x50]
fdiv st(1)
test edx, edx
fild dword [esp + 0x50]
jge 0x41bc77
fadd dword [0x440024]
mov eax, dword [esp + 0xa4]
fmulp st(1)
test eax, eax
fmul dword [0x440020]
fild dword [esp + 0xa4]
jge 0x41bc97
fadd dword [0x440024]
fdivp st(1)
mov ecx, dword [esp + 0x84]
test ecx, ecx
fild dword [esp + 0x84]
jge 0x41bcb1
fadd dword [0x440024]
fdiv st(2)
fmul dword [0x440020]
faddp st(1)
call fcn.0042d2cc
fstp st(0)
push eax
mov ecx, edi
call fcn.004173f0
mov edx, dword [esp + 0x4c]
push 0
push 0
push edx
push ebx
mov byte [esp + 0x32], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov ecx, 0x12
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x120]
push eax
push ebx
mov byte [esp + 0x580], 1
mov dword [esp + 0x124], ecx
call fcn.0041acc0
mov edi, dword [esp + 0x58]
add esp, 0xc
push 0
lea ecx, [esp + 0x60]
push ecx
push 0x40
lea edx, [esp + 0xe4]
push edx
add edi, eax
push ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x168], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xc4]
add edi, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x15c], eax
add edx, ecx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x15c], edx
call fcn.0041b860
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
add ecx, 2
xor edi, edi
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x98], ecx
call fcn.0042a127
add esp, 4
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x15c]
push edi
push eax
push ebx
mov dword [esp + 0x68], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xec], edi
je 0x41c058
mov eax, dword [esp + 0x38]
cmp byte [eax + 8], 1
jne 0x41c196
mov al, byte [eax + 9]
test al, al
jne 0x41be3e
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00426b90
add esp, 0x10
test al, al
je 0x41c14b
mov edx, dword [esp + 0x28]
push edx
call fcn.0042bb4d
add esp, 4
jmp 0x41bf33
cmp al, 1
jne 0x41c196
mov eax, dword [esp + 0xe4]
push eax
call fcn.0042a127
mov ecx, dword [esp + 0x15c]
add esp, 4
push 0
push 0
push ecx
push ebx
mov edi, eax
mov dword [esp + 0xa0], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0xe4]
push 0
lea edx, [esp + 0x94]
push edx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], edi
call fcn.00426c00
mov ecx, dword [esp + 0xd8]
shl ecx, 7
xor ecx, 0xa9c36de1
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x578], 2
call fcn.00426c40
mov eax, dword [esp + 0xe4]
test eax, eax
mov dword [esp + 0x14], 0
jbe 0x41befa
lea ecx, [esp + 0x44]
call fcn.00426cb0
mov ecx, dword [esp + 0x60]
xor byte [ecx], al
mov eax, dword [esp + 0xe4]
inc ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jb 0x41bed2
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
call fcn.00426b90
add esp, 0x10
test al, al
je 0x41c168
push edi
call fcn.0042bb4d
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x574], 1
call fcn.00426c30
mov ecx, dword [esp + 0xe8]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + ecx + 0x100]
push eax
mov edi, ecx
mov dword [esp + 0x58], eax
call fcn.0042a127
mov edx, dword [esp + 0x20]
push 1
push edi
push edx
lea ecx, [esp + 0x64]
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.00426ddb
mov edi, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
jne 0x41c02b
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
push eax
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xec], edx
lea edx, [ecx + eax + 0x20]
push edx
push esi
mov dword [esp + 0xf0], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x124]
push edx
push esi
call fcn.0041b050
add esp, 0x10
push 0
lea eax, [esp + 0x4c]
push eax
push 0x40
lea ecx, [esp + 0xe4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xa8]
add ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
push 0
add eax, ecx
push 0
lea edx, [eax + edi + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x44]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [esp + 0x40]
mov dword [esp + 0x34], edi
mov byte [esp + 0x22], 1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042bb4d
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x24], 0
call fcn.0042bb4d
mov al, byte [esp + 0x2a]
add esp, 8
test al, al
jne 0x41c108
jmp 0x41c05c
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push 0
push 0
add edx, eax
push edx
push esi
mov dword [esp + 0xf0], edi
mov dword [esp + 0xfc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x124]
push eax
push esi
call fcn.0041b050
add esp, 0x10
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0x40
lea edx, [esp + 0xe4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xa8]
add edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
push 0
add ecx, edx
push 0
lea eax, [ecx + edi + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [esp + 0x40]
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042bb4d
add esp, 4
lea ecx, [esp + 0x118]
mov dword [esp + 0x28], 0
mov byte [esp + 0x574], 0
call fcn.0041aaa0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xa4]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jb 0x41bc22
jmp 0x41c1bb
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042bb4d
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x24], edi
call fcn.0042bb4d
add esp, 8
jmp 0x41c1a7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042bb4d
push edi
mov dword [esp + 0x24], 0
call fcn.0042bb4d
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0x574], 1
call fcn.00426c30
jmp 0x41c1a7
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042bb4d
add esp, 4
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x118]
mov byte [esp + 0x574], 0
call fcn.0041aaa0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xa4]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov edx, ecx
and edx, 0x3ff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
je 0x41c204
mov eax, 0x400
sub eax, edx
mov edx, dword [esp + 0x34]
push 0
lea eax, [eax + ecx + 0x400]
push 0
mov dword [esp + 0x70], eax
push edi
sub eax, ecx
push esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
push eax
push 0x20
lea ecx, [esp + 0x70]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
add edi, eax
push 0
push 0
mov dword [esp + 0x20], edi
add edi, edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042a127
mov ecx, dword [esp + 0x70]
mov edx, ecx
mov edi, eax
shr ecx, 2
xor eax, eax
mov dword [esp + 0x18], edi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, edx
push edi
mov dword [esp + 0x1c], eax
call fcn.0042bb4d
mov eax, dword [esp + 0xb8]
add esp, 4
test eax, eax
lea ecx, [esp + 0xc8]
je 0x41c358
mov dword [esp + 0x574], 0xffffffff
call fcn.0041b420
mov edi, dword [esp + 0x18]
jmp 0x41bb90
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x24], 0x10
jb 0x41c2fc
mov eax, dword [eax + 0x10]
jmp 0x41c2ff
add eax, 0x10
push eax
push str.User_Canceled__s
push 0x44c660
call fcn.00401330
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc8]
call fcn.0041b420
xor al, al
mov ecx, dword [esp + 0x56c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x564]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042baa4
mov esp, ebp
pop ebp
ret
call fcn.0041b420
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
mov al, 1
jmp 0x41c335