Function at 0x403c30
Capabilities:
Delete file
Move file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43946b
mov eax, dword fs:[0]
push eax
sub esp, 0x750
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x74c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x764]
mov dword fs:[0], eax
mov eax, dword [esp + 0x778]
mov ecx, dword [esp + 0x780]
mov esi, dword [esp + 0x774]
mov edi, dword [esp + 0x77c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ecx
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403cb1
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
lea ecx, [esp + 0x34]
push 0x20
push ecx
mov dword [esp + 0x774], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
call fcn.004012a0
add esp, 8
push 0
push esi
mov ecx, 0x44b3c5
call fcn.0040aa20
push 0x43b560
push edi
call fcn.0041e83b
push 0x7d000
mov ebx, eax
call fcn.0040f12f
add esp, 0xc
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebx, ebx
je 0x40415e
push ebx
call fcn.0041e452
add esp, 4
test eax, eax
jne 0x403e04
push ebx
mov dword [ebp], 0
call fcn.0041eb9e
push ebx
push 0x7d000
push 1
push ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.0041e75a
mov edi, eax
add esp, 0x14
xor esi, esi
test edi, edi
jle 0x403ded
jmp 0x403d80
lea ecx, [esp + 0x34]
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403da6
test dl, dl
je 0x403da2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403da6
add eax, 2
add ecx, 2
test dl, dl
jne 0x403d86
xor eax, eax
jmp 0x403dab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403dc1
add esi, 0x200
add ebp, 0x200
cmp esi, edi
jl 0x403d80
jmp 0x403de9
mov ecx, dword [ebp + 0xf4]
mov eax, esi
cdq
xor ebp, ebp
add ecx, eax
adc ebp, edx
add ecx, dword [esp + 0x20]
push 0
adc ebp, dword [esp + 0x28]
push ebp
push ecx
push ebx
call fcn.0041ed36
add esp, 0x10
cmp esi, edi
jl 0x403e00
mov ebp, dword [esp + 0x18]
push ebx
call fcn.0041e452
add esp, 4
test eax, eax
je 0x403d4d
jmp 0x403e04
mov ebp, dword [esp + 0x18]
push 0x400
xor edi, edi
lea edx, [esp + 0x364]
push edi
push edx
call fcn.0041ec20
push ebx
call fcn.0041e452
add esp, 0x10
test eax, eax
jne 0x403ed8
lea ebx, [ebx]
push ebx
call fcn.0041eb9e
push ebx
push 0x400
mov esi, eax
lea eax, [esp + 0x36c]
push 1
push eax
mov dword [esp + 0x38], edx
call fcn.0041e75a
add esp, 0x14
cmp eax, 0x400
jne 0x403ebe
mov ecx, str.LeaderCab
lea eax, [esp + 0x360]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403e87
test dl, dl
je 0x403e83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403e87
add eax, 2
add ecx, 2
test dl, dl
jne 0x403e67
xor eax, eax
jmp 0x403e8c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403ebe
lea ecx, [esp + 0x384]
push str.ldcab.ldind
push ecx
call fcn.0041efe4
add esp, 8
test eax, eax
je 0x403ed1
mov eax, dword [esp + 0x3f0]
cdq
push 1
push edx
push eax
push ebx
call fcn.0041ed36
add esp, 0x10
push ebx
call fcn.0041e452
add esp, 4
test eax, eax
je 0x403e30
jmp 0x403edc
mov edi, 1
jmp 0x403edc
mov esi, dword [esp + 0x20]
push ebx
call fcn.0041e1f2
add esp, 4
test edi, edi
je 0x40415e
push 0x104
lea edx, [esp + 0x58]
push 0
push edx
call fcn.0041ec20
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x60]
add esp, 0xc
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403f10
lea eax, [esp + 0x54]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403f20
mov ecx, dword [str..tmp]
mov dl, byte [0x43b920]
mov dword [eax], ecx
mov byte [eax + 4], dl
push esi
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.00407d30
push 0x104
lea ecx, [esp + 0x168]
push 0
push ecx
call fcn.0041ec20
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x170]
add esp, 0x18
mov eax, esi
sub edx, esi
jmp 0x403f70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403f70
lea eax, [esp + 0x158]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403f82
mov edx, dword [0x43b898]
mov ecx, dword [0x43b89c]
mov dword [eax], edx
mov edx, dword [0x43b8a0]
mov dword [eax + 4], ecx
mov cl, byte [0x43b8a4]
mov dword [eax + 8], edx
lea edx, [esp + 0x25c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403fb8
lea eax, [esp + 0x25c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403fd0
mov edx, dword [str.ldcab.lddat]
mov ecx, dword [0x43b88c]
mov dword [eax], edx
mov edx, dword [0x43b890]
mov dword [eax + 4], ecx
mov cl, byte [0x43b894]
mov dword [eax + 8], edx
push 0
push 0
lea edx, [esp + 0x160]
mov byte [eax + 0xc], cl
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00402ba0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x404037
push edi
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x1c]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_return_value:__d
push edx
call fcn.00401ce0
add esp, 0x10
jmp 0x40407d
lea eax, [esp + 0x54]
push 0x43b814
push eax
call fcn.0041e83b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov esi, eax
push edx
push esi
call fcn.00402600
push esi
mov bl, al
call fcn.0041e1f2
add esp, 0x18
test bl, bl
jne 0x404079
lea eax, [esp + 0x14]
push str.EncryptFileToLdCab_failed
push eax
call fcn.00401ce0
add esp, 8
mov ebx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
je 0x4040e1
lea ecx, [esp + 0x54]
push ecx
call esi
lea edx, [esp + 0x158]
push edx
call esi
lea eax, [esp + 0x25c]
push eax
call esi
mov esi, dword [esp + 0x14]
push 0
push esi
mov ecx, 0x44b3c5
call fcn.0040aa20
lea eax, [esi - 0x10]
mov dword [esp + 0x76c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x404194
push ebx
call esi
push ebx
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4040fd
lea edx, [esp + 0x54]
push edx
call esi
jmp 0x404127
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.MoveFile_Error:__d
push eax
call fcn.00401ce0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ecx
mov ecx, 0x44b3c5
call fcn.0040aa20
lea edx, [esp + 0x25c]
push edx
call esi
lea eax, [esp + 0x158]
push eax
call esi
lea ecx, [esp + 0x14]
push str.Update_File_Success
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x1c]
add esp, 8
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push ebp
call fcn.0040f13a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x76c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x764]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74c]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x75c
ret