Function at 0x602624
Capabilities:
Extract resource via kernel32 functions
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a6d0
mov eax, dword [ebp - 8]
call fcn.0040a6d0
mov eax, dword [ebp - 0xc]
call fcn.0040a6d0
xor eax, eax
push ebp
push 0x602937
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040a5dc
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
push 0xa
mov eax, dword [ebp - 0xc]
call fcn.0040b040
push eax
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x6026ca
push 0x602954
push dword [ebp - 0xc]
push 0x602998
mov eax, dword [ebp + 8]
mov edx, 3
call fcn.0040b32c
jmp 0x60283c
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x6026e3
push 0
call sub.user32.dll_MessageBeep
push ebx
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x1a], 1
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x10], eax
push ebx
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00426ec4
test al, al
jne 0x60273d
mov eax, dword [ebp - 4]
call fcn.00426f6c
test al, al
jne 0x60273d
mov eax, dword [ebp + 8]
mov edx, 0x6029a8
call fcn.0040a9cc
jmp 0x60283c
xor eax, eax
push ebp
push 0x60277c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x278]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040b2a4
mov edx, dword [ebp - 0x278]
lea eax, [ebp - 0x274]
call fcn.00407d20
call fcn.00407160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x602793
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x60283c
xor eax, eax
push ebp
push 0x6027d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
lea eax, [ebp - 0x274]
call fcn.004080ec
call fcn.00407160
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6027e7
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x60283c
xor eax, eax
push ebp
push 0x60281f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x274]
call fcn.00407e68
call fcn.00407160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x602836
mov eax, dword [ebp + 8]
cmp dword [eax], 0
cmp byte [ebp - 0x19], 0
je 0x602852
lea eax, [ebp - 0x274]
call fcn.00407e88
call fcn.00407160
cmp byte [ebp - 0x1a], 0
je 0x602861
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeResource
mov eax, dword [ebp + 8]
cmp dword [eax], 0
setne al
and al, byte [ebp + 0x10]
je 0x60290a
push dword [ebp - 4]
push 0x602aa4
push dword [ebp - 8]
lea eax, [ebp - 0x27c]
mov edx, 3
call fcn.0040b32c
mov eax, dword [ebp - 0x27c]
call fcn.00427250
push dword [ebp - 4]
push 0x602aa4
push dword [ebp - 8]
lea eax, [ebp - 0x280]
mov edx, 3
call fcn.0040b32c
mov eax, dword [ebp - 0x280]
call fcn.0040b040
push eax
lea eax, [ebp - 0x284]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040b2a4
mov eax, dword [ebp - 0x284]
call fcn.0040b040
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x602904
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00602624
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60293e
lea eax, [ebp - 0x284]
mov edx, 4
call fcn.0040a63c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a63c
pop eax
jmp eax