Function at 0x42ffcc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x430306
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, esi
call fcn.00406e08
mov edi, eax
mov eax, edi
call fcn.0042fec0
mov ebx, eax
test ebx, ebx
je 0x430026
mov esi, edi
jmp 0x43002f
mov eax, esi
call fcn.0042fec0
mov ebx, eax
test ebx, ebx
je 0x4302e3
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x4302e3
push ebx
call sub.kernel32.dll_LockResource
mov esi, eax
push 0x19
push 0
push 0
push 0x7fffffff
mov edx, 0x430318
mov ecx, 0x19
mov eax, esi
call fcn.004117f0
test eax, eax
jne 0x4302d6
add esi, 0x19
mov eax, dword [ebp - 8]
mov dword [eax], 0x83
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0xe
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov dword [ebp - 0x10], eax
jmp 0x4302cd
movzx eax, byte [esi]
mov dword [ebp - 0x14], eax
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x4302d6
movzx eax, byte [esi]
inc eax
inc eax
add esi, eax
mov eax, esi
dec eax
movzx eax, byte [eax]
cmp eax, 0x12
ja case.0x4300c9.1
movzx eax, byte [eax + 0x4300d0]
jmp dword [eax*4 + 0x4300e3]
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0
movsx eax, byte [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
inc esi
jmp 0x4302cd
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0
movsx eax, word [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
add esi, 2
jmp 0x4302cd
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0
mov eax, dword [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
add esi, 4
jmp 0x4302cd
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
lea eax, [esi + 1]
push eax
movzx eax, byte [esi]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
movzx eax, byte [esi]
inc eax
add esi, eax
jmp 0x4302cd
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
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 - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
jmp 0x4302cd
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
lea eax, [esi + 4]
push eax
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
mov eax, dword [esi]
add eax, 4
add esi, eax
jmp 0x4302cd
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.0040606c
add esi, 4
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405e20
je 0x43023f
mov eax, dword [ebp - 4]
call fcn.00405cfc
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405cec
mov edx, eax
mov eax, esi
pop ecx
call fcn.004031a0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.004055a8
mov eax, dword [ebp - 0x1c]
call fcn.004057b0
push eax
mov eax, dword [ebp - 4]
call fcn.00405cfc
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042ff18
mov eax, dword [ebp - 4]
call fcn.00405cfc
add eax, eax
add esi, eax
jmp 0x4302cd
push 0
push 0x430334
push 0x430348
lea eax, [ebp - 0x24]
push eax
dec esi
movzx eax, byte [esi]
mov cl, 0x30
mov edx, 1
call fcn.004121e0
push dword [ebp - 0x24]
push 0x43037c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004056b4
mov eax, dword [ebp - 0x20]
call fcn.004057b0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4302d6
cmp byte [esi], 0
jne 0x430096
mov eax, ebx
call fcn.00408b2c
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43030d
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405344
lea eax, [ebp - 4]
call fcn.00405b28
ret