Function at 0x488ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
in al, dx
push 0xffffffffffffffff
push 0x485030
push 0x48c058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2345
push 0x68
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jne 0x488ef0
xor eax, eax
jmp 0x48937b
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x488f11
xor eax, eax
jmp 0x48937b
je 0x488f16
jne 0x488f16
jmp 0x488ea2
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x494eb4], eax
cmp dword [0x494eb4], 0
jne 0x488f35
xor eax, eax
jmp 0x48937b
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push 0x1c0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [0x494eb4]
lea edx, [ecx + eax - 0x1c0]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048b890
add esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x170], ecx
mov esi, dword [ebp - 0x170]
mov al, byte [esi]
cmp al, 0xcc
je 0x489097
mov edx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x180], edx
mov esi, dword [ebp - 0x180]
mov al, byte [esi]
cmp al, 0xcc
je 0x489097
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x178], eax
mov esi, dword [ebp - 0x178]
mov al, byte [esi]
cmp al, 0xcc
je 0x489097
mov ecx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x17c], ecx
mov esi, dword [ebp - 0x17c]
mov al, byte [esi]
cmp al, 0xcc
je 0x489097
mov edx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x174], edx
mov esi, dword [ebp - 0x174]
mov al, byte [esi]
cmp al, 0xcc
je 0x489097
mov byte [ebp - 0x38], 4
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0xc8
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0x18
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0xe
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0x22
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 0x90
mov byte [ebp - 0x27], 0x66
mov byte [ebp - 0x26], 0xe
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0xe8
mov byte [ebp - 0x23], 2
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
push 0x120
lea eax, [ebp - 0x38]
push eax
push 0x64
mov ecx, dword [ebp + 0xc]
add ecx, 0xa0
push ecx
call fcn.004867d9
add esp, 0x10
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x4892db
push 0xffffffffffffffff
mov eax, dword [0x494924]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1b8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1bc]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00491340
test eax, eax
je 0x48917c
push 0
push 1
mov ecx, dword [0x494924]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x10
mov edx, dword [ebp + 0xc]
add edx, 0xa0
push edx
mov eax, dword [ebp + 0xc]
add eax, 0xb4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x188], eax
push 0
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov dword [ebp - 0x18c], 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0048b7e2
add esp, 8
mov eax, dword [ebp - 0x18c]
jmp 0x48937b
push 0
push 1
mov edx, dword [0x494924]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea eax, [ebp - 0x150]
push eax
push 0xc
mov ecx, dword [ebp + 0xc]
add ecx, 0x94
push ecx
call fcn.00486a35
add esp, 0xc
test eax, eax
jne 0x4891cf
push 0xffffffffffffffff
mov dword [ebp - 0x190], 0
lea edx, [ebp - 0x10]
push edx
call fcn.0048b7e2
add esp, 8
mov eax, dword [ebp - 0x190]
jmp 0x48937b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x94]
push ecx
push 0x481694
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x98]
push ecx
push 0x481694
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
push 0
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0x9e]
push ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 0x9f]
push eax
call fcn.004879af
add esp, 0x18
test eax, eax
jne 0x489256
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x4890a5
push 0xffffffffffffffff
mov edx, dword [0x494924]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x160]
push edx
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00491280
test eax, eax
jne 0x4892bd
push 0
push 1
mov ecx, dword [0x494924]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0xffffffffffffffff
mov dword [ebp - 0x194], 1
lea edx, [ebp - 0x10]
push edx
call fcn.0048b7e2
add esp, 8
mov eax, dword [ebp - 0x194]
jmp 0x48937b
push 0
push 1
mov eax, dword [0x494924]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x4890a5
mov dword [ebp - 4], 0xffffffff
call fcn.004892e9
jmp 0x48932c
push 0x10
mov eax, dword [ebp + 0xc]
add eax, 0xa0
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xb4
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4c], eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret