Function at 0x4476b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
in al, dx
push 0xffffffffffffffff
push 0x445288
push 0x44aff0
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 0x447700
xor eax, eax
jmp 0x447b86
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 0x447721
xor eax, eax
jmp 0x447b86
je 0x447726
jne 0x447726
jmp 0x4476b2
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x45061c], eax
cmp dword [0x45061c], 0
jne 0x447745
xor eax, eax
jmp 0x447b86
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 0xf0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [0x45061c]
lea edx, [ecx + eax - 0xf0]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044abc0
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 0x4478a4
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 0x4478a4
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 0x4478a4
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 0x4478a4
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 0x4478a4
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 0x50
lea eax, [ebp - 0x38]
push eax
push 0x64
mov ecx, dword [ebp + 0xc]
add ecx, 0xa0
push ecx
call fcn.00445871
add esp, 0x10
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x447ae6
push 0xffffffffffffffff
mov eax, dword [0x4501c4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xe8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xec]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00449a00
test eax, eax
je 0x447989
push 0
push 1
mov ecx, dword [0x4501c4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
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.0044af3a
add esp, 8
mov eax, dword [ebp - 0x18c]
jmp 0x447b86
push 0
push 1
mov edx, dword [0x4501c4]
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.00445acd
add esp, 0xc
test eax, eax
jne 0x4479dc
push 0xffffffffffffffff
mov dword [ebp - 0x190], 0
lea edx, [ebp - 0x10]
push edx
call fcn.0044af3a
add esp, 8
mov eax, dword [ebp - 0x190]
jmp 0x447b86
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x94]
push ecx
push 0x4413f4
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 0x4413f4
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
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.00446a2f
add esp, 0x14
test eax, eax
jne 0x447a61
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x4478b2
push 0xffffffffffffffff
mov edx, dword [0x4501c4]
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.00449940
test eax, eax
jne 0x447ac8
push 0
push 1
mov ecx, dword [0x4501c4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0xffffffffffffffff
mov dword [ebp - 0x194], 1
lea edx, [ebp - 0x10]
push edx
call fcn.0044af3a
add esp, 8
mov eax, dword [ebp - 0x194]
jmp 0x447b86
push 0
push 1
mov eax, dword [0x4501c4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x4478b2
mov dword [ebp - 4], 0xffffffff
call fcn.00447af4
jmp 0x447b37
push 0
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