Function at 0x436a04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x436a0d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x436dc8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, esi
call sub.rtl160.bpl__System_FindResourceHInstance_qqrui
mov edi, eax
mov eax, edi
call fcn.004368dc
mov ebx, eax
test ebx, ebx
je 0x436a5d
mov esi, edi
jmp 0x436a66
mov eax, esi
call fcn.004368dc
mov ebx, eax
test ebx, ebx
je 0x436d9d
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x436d9d
push ebx
call sub.kernel32.dll_LockResource
mov esi, eax
mov eax, dword [0x535ccc]
call sub.rtl160.bpl__System__PCharLen_qqrpc
push eax
push 0
push 0
push 0x7fffffff
mov eax, dword [0x535ccc]
call sub.rtl160.bpl__System__PCharLen_qqrpc
mov ecx, eax
mov edx, dword [0x535ccc]
mov eax, esi
call fcn.0040a770
test eax, eax
jne 0x436d90
mov eax, dword [0x535ccc]
call sub.rtl160.bpl__System__PCharLen_qqrpc
add esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x83
mov eax, dword [ebp - 0xc]
imul eax, dword [eax], 0xe
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov dword [ebp - 0x14], eax
jmp 0x436d87
movzx eax, byte [esi]
mov dword [ebp - 0x18], eax
lea eax, [esi + 1]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x436d90
movzx eax, byte [esi]
inc eax
inc eax
add esi, eax
mov eax, esi
dec eax
movzx eax, byte [eax]
cmp eax, 0x14
ja case.0x436b1a.1
movzx eax, byte [eax + 0x436b21]
jmp dword [eax*4 + 0x436b36]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0
movsx eax, byte [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
inc esi
jmp 0x436d87
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0
movsx eax, word [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
add esi, 2
jmp 0x436d87
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0
mov eax, dword [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
add esi, 4
jmp 0x436d87
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [esi + 1]
push eax
movzx eax, byte [esi]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
movzx eax, byte [esi]
inc eax
add esi, eax
jmp 0x436d87
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, esi
dec eax
cmp byte [eax], 9
sete al
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
jmp 0x436d87
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [esi + 4]
push eax
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
mov eax, dword [esi]
add eax, 4
add esi, eax
jmp 0x436d87
mov edx, dword [esi]
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
add esi, 4
cmp dword [ebp - 4], 0
je 0x436c90
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
add eax, eax
push eax
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UniqueStringU_qqrr20System_UnicodeString
mov edx, eax
mov eax, esi
pop ecx
call sub.rtl160.bpl__System_Move_qqrpxvpvi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x20]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
add eax, eax
add esi, eax
jmp 0x436d87
push 0
mov ecx, dword [esi]
lea edx, [esi + 4]
lea eax, [ebp - 8]
call sub.rtl160.bpl__System__LStrFromPCharLen_qqrr27System__AnsiStringT_us_i0__pcius
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040caf4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x24]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436934
mov eax, dword [esi]
add eax, 4
add esi, eax
jmp 0x436d87
push 0
push 0x436ddc
push 0x436df4
lea eax, [ebp - 0x2c]
push eax
dec esi
movzx eax, byte [esi]
mov cl, 0x30
mov edx, 1
call fcn.0040ba28
push dword [ebp - 0x2c]
push 0x436e2c
lea eax, [ebp - 0x28]
mov edx, 3
call sub.rtl160.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x28]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
push 0
call sub.user32.dll_MessageBoxA
jmp 0x436d90
cmp byte [esi], 0
jne 0x436ae7
mov eax, ebx
call fcn.0040369c
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436dcf
lea eax, [ebp - 0x2c]
mov edx, 4
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 8]
call sub.rtl160.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UStrClr_qqrpv
ret