Function at 0x42e288
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 - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x42e5c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov eax, esi
call fcn.0040619c
mov edi, eax
mov eax, edi
call fcn.0042e184
mov ebx, eax
test ebx, ebx
je 0x42e2e2
mov esi, edi
jmp 0x42e2eb
mov eax, esi
call fcn.0042e184
mov ebx, eax
test ebx, ebx
je 0x42e5a6
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x42e5a6
push ebx
call sub.kernel32.dll_LockResource
mov esi, eax
push 0x19
push 0
push 0
push 0x7fffffff
mov edx, 0x42e5dc
mov ecx, 0x19
mov eax, esi
call fcn.00409b6c
test eax, eax
jne 0x42e599
add esi, 0x19
mov eax, dword [ebp - 4]
mov dword [eax], 0x83
mov eax, dword [ebp - 4]
imul eax, dword [eax], 0xe
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov dword [ebp - 0xc], eax
jmp 0x42e590
mov al, byte [esi]
xor edx, edx
mov dl, al
mov dword [ebp - 0x10], edx
lea edx, [esi + 1]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0
je 0x42e599
and eax, 0xff
inc eax
inc eax
add esi, eax
mov eax, esi
dec eax
movzx eax, byte [eax]
cmp eax, 0x12
ja case.0x42e389.1
mov al, byte [eax + 0x42e390]
jmp dword [eax*4 + 0x42e3a3]
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0
movsx eax, byte [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
inc esi
jmp 0x42e590
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0
movsx eax, word [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
add esi, 2
jmp 0x42e590
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0
mov eax, dword [esi]
push eax
push 0
push 0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
add esi, 4
jmp 0x42e590
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [esi + 1]
push eax
xor eax, eax
mov al, byte [esi]
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
xor eax, eax
mov al, byte [esi]
inc eax
add esi, eax
jmp 0x42e590
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
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 - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
jmp 0x42e590
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [esi + 4]
push eax
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
mov eax, dword [esi]
add eax, 4
add esi, eax
jmp 0x42e590
mov edx, dword [esi]
lea eax, [ebp - 0x18]
call fcn.00405528
add esi, 4
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00405458
je 0x42e501
mov eax, dword [ebp - 0x18]
call fcn.004053ec
add eax, eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.004053dc
mov edx, eax
mov eax, esi
pop ecx
call fcn.00402d24
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404da4
mov eax, dword [ebp - 0x1c]
call fcn.00404fdc
push eax
mov eax, dword [ebp - 0x18]
call fcn.004053ec
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042e1dc
mov eax, dword [ebp - 0x18]
call fcn.004053ec
add eax, eax
add esi, eax
jmp 0x42e590
push 0
push 0x42e5f8
push 0x42e60c
lea eax, [ebp - 0x24]
push eax
dec esi
xor eax, eax
mov al, byte [esi]
mov cl, 0x30
mov edx, 1
call fcn.0040a4dc
push dword [ebp - 0x24]
push 0x42e640
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404e9c
mov eax, dword [ebp - 0x20]
call fcn.00404fdc
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x42e599
cmp byte [esi], 0
jne 0x42e352
mov eax, ebx
call fcn.00407f84
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e5d0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404b40
lea eax, [ebp - 0x18]
call fcn.00405264
ret