Function at 0x42dfc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aeaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp edi, esi
mov ebx, edx
mov dword [esp + 0x1c], ebx
jl 0x42e20d
push 0x431
mov ecx, ebx
call fcn.0055c02c
push esi
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x94]
call fcn.00563828
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov edx, 0x5df3c0
mov eax, ecx
mov di, word [eax]
cmp di, word [edx]
jne 0x42e05d
cmp di, si
je 0x42e059
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x42e05d
add eax, 4
add edx, 4
cmp di, si
jne 0x42e037
xor eax, eax
jmp 0x42e062
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x42e081
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
call fcn.0040e1b0
test eax, eax
je 0x42e1c7
jmp 0x42e104
push 0x5d64ec
push 0xcf
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x42e1c7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 3
push eax
mov dword [esp + 0x1c], eax
call fcn.00503eb0
mov edi, eax
add esp, 8
test edi, edi
je 0x42e1c5
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.0040e210
test eax, eax
jne 0x42e0e6
mov dword [esp + 0x10], eax
cmp dword [edi], 2
sete al
test al, al
je 0x42e0f7
call fcn.00507d30
jmp 0x42e0fe
mov ebx, edi
call fcn.00503fc0
mov ebx, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x42e1c7
mov eax, dword [ebx + 0x84]
add ebx, 0x80
cmp eax, esi
je 0x42e132
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push eax
push ebx
call fcn.00512430
test eax, eax
je 0x42e1d4
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0055b558
lea edx, [esp + 0x24]
mov edi, eax
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, edi
mov ecx, ebx
call fcn.005128c0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
push edi
lea eax, [esp + 0x3c]
mov ecx, ebx
call fcn.005124d0
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x10]
push edx
call fcn.0055517b
add esp, 4
jmp 0x42e1e5
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
push 1
push esi
push edx
jmp 0x42e1df
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e20d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret