Function at 0x4025f0
Capabilities:
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push 0x40
push ebx
mov dword [ebp - 0x220], ebx
call fcn.00420790
push 0x40
mov byte [eax], 0
inc eax
push eax
mov dword [ebp - 0x218], eax
call fcn.00420790
push 0x448bc8
push ebx
mov byte [eax], 0
inc eax
mov dword [ebp - 0x21c], eax
call fcn.00422887
add esp, 0x18
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x402686
push ebx
lea eax, [ebp - 0x108]
push str.SR___1:__s
push eax
call fcn.004015f0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x10
push str.Warning:
push eax
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f127
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
call fcn.004235ce
lea edx, [ebp - 0x20c]
add esp, 0x14
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4026b0
push edi
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4026c1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4026e0
mov eax, dword [str._akdteldb.dhd]
mov dword [ecx], eax
mov eax, dword [0x448ba4]
mov dword [ecx + 4], eax
mov eax, dword [0x448ba8]
mov dword [ecx + 8], eax
mov ax, word [0x448bac]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x108]
push 0x448924
push eax
call fcn.00422887
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40275c
push dword [ebp - 0x214]
call fcn.00422ada
add esp, 4
push 0x10
push str.Warning:
push str.SR___2
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f127
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x218]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x402765
push dword [ebp - 0x214]
sub edi, ecx
xor esi, esi
call fcn.00422f1c
add esp, 4
test eax, eax
jne 0x40283a
nop word [eax + eax]
push dword [ebp - 0x214]
lea eax, [ebp - 0x20d]
push 1
push 1
push eax
call fcn.0042963d
add esp, 0x10
cmp eax, 1
jne 0x40283a
mov ecx, dword [ebp - 0x218]
mov al, byte [ebp - 0x20d]
cmp al, byte [esi + ecx]
jne 0x4027eb
inc esi
cmp esi, edi
jne 0x402824
mov esi, dword [ebp - 0x21c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027d3
push ebx
sub eax, edx
push eax
push 1
push esi
call fcn.00427931
add esp, 0x10
jmp 0x402822
push ebx
test esi, esi
jne 0x402805
push 1
lea eax, [ebp - 0x20d]
push 1
push eax
call fcn.00427931
add esp, 0x10
jmp 0x402824
push esi
push 1
push ecx
call fcn.00427931
push ebx
push 1
lea eax, [ebp - 0x20d]
push 1
push eax
call fcn.00427931
add esp, 0x20
xor esi, esi
push dword [ebp - 0x214]
call fcn.00422f1c
add esp, 4
test eax, eax
je 0x402790
push dword [ebp - 0x214]
call fcn.00422ada
push ebx
call fcn.00422ada
mov esi, dword [ebp - 0x220]
push esi
call fcn.00422d12
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00425f6a
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041f127
mov esp, ebp
pop ebp
ret