Function at 0x450fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1cc
push esi
mov ecx, 0x55be7a
call fcn.0051a674
push 4
call fcn.004a2577
add esp, 4
lea eax, [ebp - 0xf8]
push eax
call fcn.0049d807
add esp, 4
mov dword [ebp - 4], 0
call fcn.0049d9a5
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 3
ja case.default.0x45102b
mov edx, dword [ebp - 0x38]
jmp dword [edx*4 + 0x451408]
xor eax, eax
mov byte [ebp - 0x11], al
xor ecx, ecx
mov byte [ebp - 0x12], cl
xor edx, edx
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x11]
push eax
movzx ecx, byte [ebp - 0x12]
push ecx
movzx edx, byte [ebp - 0x13]
push edx
lea ecx, [ebp - 0x1b0]
call fcn.00451da0
mov ecx, eax
call fcn.00451aa0
push eax
lea ecx, [ebp - 0xf8]
call fcn.004a6a10
lea ecx, [ebp - 0xf8]
call fcn.004a6953
push eax
call fcn.004a252e
add esp, 4
call fcn.00450ef0
mov dword [ebp - 0x48], eax
xor eax, eax
mov byte [ebp - 0x14], al
xor ecx, ecx
mov byte [ebp - 0x15], cl
xor edx, edx
mov byte [ebp - 0x16], dl
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x64], esp
movzx eax, byte [ebp - 0x14]
push eax
movzx ecx, byte [ebp - 0x15]
push ecx
movzx edx, byte [ebp - 0x16]
push edx
lea ecx, [ebp - 0x110]
call fcn.00451e30
mov ecx, eax
call fcn.00451c70
push eax
mov ecx, esi
call fcn.00450ec0
mov ecx, dword [ebp - 0x48]
call fcn.004a9e56
jmp case.default.0x45102b
xor eax, eax
mov byte [ebp - 0x17], al
xor ecx, ecx
mov byte [ebp - 0x18], cl
xor edx, edx
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x17]
push eax
movzx ecx, byte [ebp - 0x18]
push ecx
movzx edx, byte [ebp - 0x19]
push edx
lea ecx, [ebp - 0x120]
call fcn.00451e80
mov ecx, eax
call fcn.00451c70
push eax
lea ecx, [ebp - 0xf8]
call fcn.004a6a10
lea ecx, [ebp - 0xf8]
call fcn.004a6953
push eax
call fcn.004a252e
add esp, 4
call fcn.00450ef0
mov dword [ebp - 0x50], eax
xor eax, eax
mov byte [ebp - 0x1a], al
xor ecx, ecx
mov byte [ebp - 0x1b], cl
xor edx, edx
mov byte [ebp - 0x1c], dl
movzx eax, byte [ebp - 0x1a]
push eax
movzx ecx, byte [ebp - 0x1b]
push ecx
movzx edx, byte [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x130]
call fcn.00451f20
mov ecx, eax
call fcn.00451c70
mov dword [ebp - 0x4c], eax
xor eax, eax
mov byte [ebp - 0x1d], al
xor ecx, ecx
mov byte [ebp - 0x1e], cl
xor edx, edx
mov byte [ebp - 0x1f], dl
mov eax, dword [ebp - 0x4c]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x68], esp
movzx ecx, byte [ebp - 0x1d]
push ecx
movzx edx, byte [ebp - 0x1e]
push edx
movzx eax, byte [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x140]
call fcn.00451ed0
mov ecx, eax
call fcn.00451c70
push eax
mov ecx, esi
call fcn.00450ec0
mov ecx, dword [ebp - 0x50]
call fcn.004a9e56
jmp case.default.0x45102b
xor ecx, ecx
mov byte [ebp - 0x20], cl
xor edx, edx
mov byte [ebp - 0x21], dl
xor eax, eax
mov byte [ebp - 0x22], al
movzx ecx, byte [ebp - 0x20]
push ecx
movzx edx, byte [ebp - 0x21]
push edx
movzx eax, byte [ebp - 0x22]
push eax
lea ecx, [ebp - 0x190]
call fcn.00451e80
mov ecx, eax
call fcn.00451c70
push eax
lea ecx, [ebp - 0xf8]
call fcn.004a6a10
lea ecx, [ebp - 0xf8]
call fcn.004a6953
push eax
call fcn.004a252e
add esp, 4
xor ecx, ecx
mov byte [ebp - 0x23], cl
xor edx, edx
mov byte [ebp - 0x24], dl
xor eax, eax
mov byte [ebp - 0x25], al
push 0
push 1
movzx ecx, byte [ebp - 0x23]
push ecx
movzx edx, byte [ebp - 0x24]
push edx
movzx eax, byte [ebp - 0x25]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00451f70
mov ecx, eax
call fcn.00451aa0
push eax
call fcn.004a2612
add esp, 0xc
call fcn.00450ef0
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov byte [ebp - 0x26], cl
xor edx, edx
mov byte [ebp - 0x27], dl
xor eax, eax
mov byte [ebp - 0x28], al
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x6c], esp
movzx ecx, byte [ebp - 0x26]
push ecx
movzx edx, byte [ebp - 0x27]
push edx
movzx eax, byte [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
call fcn.00451e30
mov ecx, eax
call fcn.00451c70
push eax
mov ecx, esi
call fcn.00450ec0
mov ecx, dword [ebp - 0x54]
call fcn.004a9e56
jmp case.default.0x45102b
xor ecx, ecx
mov byte [ebp - 0x29], cl
xor edx, edx
mov byte [ebp - 0x2a], dl
xor eax, eax
mov byte [ebp - 0x2b], al
movzx ecx, byte [ebp - 0x29]
push ecx
movzx edx, byte [ebp - 0x2a]
push edx
movzx eax, byte [ebp - 0x2b]
push eax
lea ecx, [ebp - 0x160]
call fcn.00451e80
mov ecx, eax
call fcn.00451c70
push eax
lea ecx, [ebp - 0xf8]
call fcn.004a6a10
lea ecx, [ebp - 0xf8]
call fcn.004a6953
push eax
call fcn.004a252e
add esp, 4
xor ecx, ecx
mov byte [ebp - 0x2c], cl
xor edx, edx
mov byte [ebp - 0x2d], dl
xor eax, eax
mov byte [ebp - 0x2e], al
movzx ecx, byte [ebp - 0x2c]
push ecx
movzx edx, byte [ebp - 0x2d]
push edx
movzx eax, byte [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x170]
call fcn.00452000
mov ecx, eax
call fcn.00451c70
mov dword [ebp - 0x58], eax
call fcn.0049d990
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
push ecx
push 0x81
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je case.default.0x45102b
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0049d990
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4513d9
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0049d990
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jbe 0x4513d9
push 0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004a2584
add esp, 0xc
call fcn.00450ef0
mov dword [ebp - 0x60], eax
xor ecx, ecx
mov byte [ebp - 0x2f], cl
xor edx, edx
mov byte [ebp - 0x30], dl
xor eax, eax
mov byte [ebp - 0x31], al
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x70], esp
movzx ecx, byte [ebp - 0x2f]
push ecx
movzx edx, byte [ebp - 0x30]
push edx
movzx eax, byte [ebp - 0x31]
push eax
lea ecx, [ebp - 0x180]
call fcn.00451e30
mov ecx, eax
call fcn.00451c70
push eax
mov ecx, esi
call fcn.00450ec0
mov ecx, dword [ebp - 0x60]
call fcn.004a9e56
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004a67d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret