Function at 0x40286e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412403
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x418250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0xb4], edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [esi + 4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], ebx
cmp eax, 0x111
ja 0x402b84
je 0x402b72
dec eax
cmp eax, 0xf
ja case.0x402867.3
movzx ecx, byte [eax + 0x402c38]
jmp dword [ecx*4 + 0x402c24]
push 0x4133e4
push 0x6f
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x402a97
mov edx, dword [0x419398]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
push 0
mov dword [ebp - 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x402a97
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x402a90
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x402a89
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x402a89
mov edx, dword [ebp - 0xa4]
push edx
push eax
push ecx
call fcn.00406570
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xb0]
push eax
push 0
push ebx
mov dword [ebp - 0xb0], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x402938
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x402c06
mov ecx, dword [ebp - 0xb0]
push 0x10
mov dword [ebp - 0xa4], ecx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x402972
mov edx, dword [ebp - 0xa4]
lea eax, [edi + 4]
push eax
push edx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x402974
xor edi, edi
push ebx
mov dword [esi + 0x78], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x64]
push eax
call fcn.00405f50
add esp, 4
xor ebx, ebx
mov eax, 7
xor ecx, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401490
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401490
push str.UnChecked.png
lea ecx, [ebp - 0x48]
call fcn.004027c0
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x402a16
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x4029ff
lea ecx, [ebp - 0x48]
lea eax, [edi + 4]
push eax
push ecx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [edi + 8], eax
jmp 0x402a18
xor edi, edi
push 0x4133a8
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x80], edi
call fcn.004027c0
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x402a5b
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x402a44
lea ecx, [ebp - 0x2c]
lea eax, [edi + 4]
push eax
push ecx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [edi + 8], eax
jmp 0x402a5d
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x7c], edi
call fcn.00401210
lea ecx, [ebp - 0x48]
call fcn.00401210
lea ecx, [ebp - 0x64]
call fcn.00401210
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xb4]
jmp case.0x402867.3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x402c06
lea edi, [esi + 8]
push edi
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
push ebx
mov ecx, esi
call fcn.00403b70
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov edi, dword [ebp - 0xb4]
jmp case.0x402867.3
movzx edx, word [ebp + 0xc]
push edx
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0xa0]
call fcn.00405e00
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 3
call fcn.004058e0
cmp dword [esi + 0x84], 0
je 0x402b18
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x80], 4
mov dword [ebp - 4], 0xffffffff
call fcn.00405cf0
jmp case.0x402867.3
lea ecx, [ebp - 0xa0]
call fcn.00405bd0
inc eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00405cf0
jmp case.0x402867.3
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x402b54
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x78], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x402867.3
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push edi
push eax
push 0
mov ecx, esi
call edx
jmp case.0x402867.3
sub eax, 0x200
je 0x402bcd
dec eax
je 0x402ba2
sub eax, 0x200
jne case.0x402867.3
push eax
push eax
push 0x10
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x402867.3
movsx eax, di
mov ecx, edi
shr ecx, 0x10
mov dword [ebp - 0xac], eax
movsx edx, cx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xac]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0xa8], edx
call fcn.00402400
jmp case.0x402867.3
movsx edx, di
mov eax, edi
shr eax, 0x10
movsx ecx, ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], edx
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 0xa8], ecx
push eax
mov ecx, esi
call fcn.00402480
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407142
mov esp, ebp
pop ebp
ret 0xc