Function at 0x4024d0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42bed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
push 1
call fcn.004241cd
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
push pe_nt_image_headers32
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [0x439a68]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x138], ebx
call fcn.004214d3
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041f773
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0041f6fb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 1
call fcn.00421483
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], bl
call fcn.0042134a
mov ecx, dword [0x439a68]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push str._sResourcesErrMsg.ini
push eax
mov byte [esp + 0x140], 2
call fcn.0041fb1b
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push ecx
push eax
push str.errmsg
push 0x4372ac
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x9c]
push edx
push eax
push 0x4372a8
push 0x4372ac
call edi
mov eax, dword [0x439a68]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push str._sResourceszipTemp.zip
push edx
mov byte [esp + 0x140], 3
call fcn.0041fb1b
add esp, 0xc
mov dword [esp + 0x1c], 0x42d894
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x140], 4
call fcn.004210bf
lea ecx, [esp + 0x24]
call fcn.00402820
cmp eax, ebx
je 0x4026ac
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
je 0x40265a
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.004210bf
lea ecx, [esp + 0x20]
call fcn.00402890
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00401f30
lea ecx, [esp + 0x20]
call fcn.00402890
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402681
push ebx
push eax
call sub.zlib.dll_Ordinal_84
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov dword [esp + 0x24], ebx
call edi
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00401f30
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0xc]
call fcn.0042134a
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00401f30
add esi, 0xa0
push eax
mov ecx, esi
mov byte [esp + 0x138], 5
call fcn.00421483
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 4
call fcn.0042134a
mov ecx, dword [esi]
lea edx, [esp + 0xc]
mov eax, dword [ecx - 8]
mov ecx, esi
add eax, 0xfffffffc
push eax
push edx
call fcn.0041f6fb
push eax
mov ecx, esi
mov byte [esp + 0x138], 6
call fcn.00421483
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 4
call fcn.0042134a
push str._msg.zip
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00421579
push eax
mov ecx, esi
mov byte [esp + 0x138], 7
call fcn.00421483
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 4
call fcn.0042134a
mov esi, dword [esi]
mov ecx, dword [esp + 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0x42d894
cmp eax, ebx
je 0x40276f
push ebx
push eax
call sub.zlib.dll_Ordinal_84
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40278b
push eax
call sub.zlib.dll_Ordinal_72
mov edx, dword [esp + 0x24]
push edx
call sub.zlib.dll_Ordinal_62
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 2
call fcn.0042134a
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call fcn.0042134a
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042134a
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret