Function at 0x403ab0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x43aeab
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov eax, dword [esp + 0x448]
mov ecx, dword [esp + 0x454]
mov ebp, dword [esp + 0x44c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403b22
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x104
lea ecx, [esp + 0x128]
push 0
push ecx
mov dword [esp + 0x448], 0
call fcn.00420a40
lea edx, [esp + 0x130]
add esp, 0xc
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403b60
lea eax, [esp + 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403b72
mov edx, dword [str..tmp]
mov cl, byte [0x43d950]
mov dword [eax], edx
lea edx, [esp + 0x124]
push 0x43d948
push edx
mov byte [eax + 4], cl
call fcn.0042065d
add esp, 8
test eax, eax
je 0x403bad
push eax
call fcn.00420014
add esp, 4
push 0x104
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00420a40
mov ebx, dword [esp + 0x45c]
lea esi, [esp + 0x2c]
add esp, 0xc
mov eax, ebx
sub esi, ebx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x403bd0
lea eax, [esp + 0x20]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403be0
mov ecx, dword [str._forbit.ini]
mov edx, dword [0x43d940]
mov dword [eax], ecx
mov ecx, dword [0x43d944]
mov dword [eax + 4], edx
lea edx, [esp + 0x20]
push edx
mov dword [eax + 8], ecx
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x403c3b
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.00402e00
mov edi, eax
add esp, 0x10
test edi, edi
je 0x403cbe
lea edx, [esp + 0x124]
push edx
call fcn.00408bb0
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_error_code:__d
push ecx
call fcn.00401f40
mov esi, dword [esp + 0x28]
add esp, 0x14
push 0
push esi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea eax, [esi - 0x10]
mov dword [esp + 0x43c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403cb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x403fd6
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00420a40
add esp, 0xc
mov eax, ebx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x403cd4
lea eax, [esp + 0x20]
or ebx, 0xffffffff
add eax, ebx
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403ce7
mov edx, dword [str.ldcab.ldx]
mov ecx, dword [0x43d8dc]
mov dword [eax], edx
mov dx, word [0x43d8e0]
mov dword [eax + 4], ecx
mov cl, byte [0x43d8e2]
mov word [eax + 8], dx
lea edx, [esp + 0x20]
push edx
mov byte [eax + 0xa], cl
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x403d4d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.00402e00
mov edi, eax
add esp, 0x10
test edi, edi
je 0x403dbb
lea edx, [esp + 0x124]
push edx
call fcn.00408bb0
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_error_code:__d
push ecx
call fcn.00401f40
mov esi, dword [esp + 0x28]
add esp, 0x14
push 0
push esi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea eax, [esi - 0x10]
mov dword [esp + 0x43c], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jmp 0x403cab
push 0x104
lea ecx, [esp + 0x22c]
push 0
push ecx
call fcn.00420a40
mov esi, dword [esp + 0x450]
lea edx, [esp + 0x234]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403de4
lea eax, [esp + 0x228]
add eax, ebx
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403df7
mov edx, dword [0x43d8c8]
mov ecx, dword [0x43d8cc]
mov dword [eax], edx
mov edx, dword [0x43d8d0]
mov dword [eax + 4], ecx
mov cl, byte [0x43d8d4]
mov dword [eax + 8], edx
lea edx, [esp + 0x32c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403e30
lea eax, [esp + 0x32c]
add eax, ebx
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403e43
mov edx, dword [str.ldcab.lddat]
mov ecx, dword [0x43d8bc]
mov dword [eax], edx
mov edx, dword [0x43d8c0]
mov dword [eax + 4], ecx
mov cl, byte [0x43d8c4]
mov dword [eax + 8], edx
push 0
push 0
lea edx, [esp + 0x230]
mov byte [eax + 0xc], cl
push edx
lea eax, [esp + 0x130]
push eax
call fcn.00402e00
mov edi, eax
add esp, 0x10
test edi, edi
je 0x403eff
push edi
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x1c]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_error_code:__d
push edx
call fcn.00401f40
lea edx, [esp + 0x134]
add esp, 0x10
push edx
call fcn.00408bb0
lea eax, [esp + 0x22c]
push eax
call fcn.00408bb0
lea ecx, [esp + 0x334]
push ecx
call fcn.00408bb0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push esi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea eax, [esi - 0x10]
mov dword [esp + 0x43c], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jmp 0x403cab
lea eax, [esp + 0x124]
push 0x43d824
push eax
call fcn.0042065d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
mov esi, eax
push edx
push esi
call fcn.00402860
push esi
mov bl, al
call fcn.00420014
add esp, 0x18
test bl, bl
jne 0x403f4e
push 0
lea eax, [esp + 0x330]
push eax
lea ecx, [esp + 0x1c]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_error_code:__d
push ecx
call fcn.00401f40
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call esi
push ebp
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0x124]
push edx
call fcn.00408bb0
add esp, 4
lea eax, [esp + 0x228]
push eax
call esi
lea ecx, [esp + 0x32c]
push ecx
call esi
lea edx, [esp + 0x14]
push str.SimpleUpdate_File_Success
push edx
call fcn.00401f40
mov esi, dword [esp + 0x1c]
add esp, 8
push 0
push esi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea eax, [esi - 0x10]
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403fd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.0041eff4
add esp, 0x42c
ret