Function at 0x188039e0
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1882bab0
call fcn.1882a764
sub esp, 0x3c
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x18803a52
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
add eax, 0xfffff8ec
cmp eax, 2
ja 0x18803a20
xor eax, eax
jmp 0x18803d5e
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x27
mov dword [ebp - 0x28], ebx
call esi
push 5
pop ecx
mov dword [ebp - 0x24], eax
push 0x18836bec
lea eax, [ebp - 0x48]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x48]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x18803a7c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x2d
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18803a36
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x18803a9d
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x31
jmp 0x18803a71
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jne 0x18803ac0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x37
jmp 0x18803a71
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
jne 0x18803ae5
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x3b
jmp 0x18803a71
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x18803b06
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x3f
jmp 0x18803a71
push edi
push dword [ebp - 0x1c]
push eax
call fcn.18819480
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jge 0x18803b46
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x47
mov dword [ebp - 0x28], eax
jmp 0x18803a74
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
xor ecx, ecx
push ecx
push edi
push eax
call dword [edx + 0x18]
mov edi, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 0x10
call edi
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x18803b99
mov eax, dword [ebp - 0x10]
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
mov ebx, esi
or dword [ebp - 4], 0xffffffff
xor esi, esi
cmp ebx, esi
jne 0x18803bbc
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x51
mov dword [ebp - 0x28], esi
jmp 0x18803a74
mov eax, dword [ebx + 8]
mov dword [ebx + 8], esi
cmp eax, esi
je 0x18803bdc
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x54
jmp 0x18803b3e
push 0x10
call edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
cmp eax, esi
je 0x18803c13
mov esi, ebx
call fcn.18803901
push eax
call fcn.188038e0
push eax
call fcn.188038bf
push eax
push dword [ebp - 0x1c]
call fcn.18803960
mov edi, eax
mov dword [ebp - 0x14], edi
xor esi, esi
jmp 0x18803c18
mov dword [ebp - 0x14], esi
mov edi, esi
or dword [ebp - 4], 0xffffffff
cmp edi, esi
jne 0x18803c33
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x5d
jmp 0x18803bb4
mov eax, dword [edi + 8]
mov dword [edi + 8], esi
cmp eax, esi
je 0x18803c53
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x60
jmp 0x18803b3e
fldz
lea eax, [ebp - 0x1c]
push eax
fstp dword [ebp - 0x1c]
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHorizontalResolution]
cmp eax, esi
je 0x18803c6c
mov dword [ebx + 8], eax
fldz
lea eax, [ebp - 0x18]
push eax
fstp dword [ebp - 0x18]
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageVerticalResolution]
cmp eax, esi
je 0x18803c85
mov dword [ebx + 8], eax
fld dword [ebp - 0x18]
push ecx
push ecx
fstp dword [esp + 4]
mov esi, edi
fld dword [ebp - 0x1c]
fstp dword [esp]
call fcn.188039b6
test eax, eax
je 0x18803cb6
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x67
jmp 0x18803b3e
call fcn.18803776
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x18803cdc
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x6b
mov dword [ebp - 0x28], ecx
jmp 0x18803a74
mov eax, dword [edi + 4]
mov dword [edi + 4], ecx
cmp eax, ecx
je 0x18803cfc
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x6e
jmp 0x18803b3e
mov esi, ebx
call fcn.188038e0
push eax
call fcn.188038bf
push eax
push 0
push 0
mov eax, ebx
mov esi, edi
call fcn.188037c8
test eax, eax
je 0x18803d32
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str...MultimonButtonRenderer.cpp
mov dword [ebp - 0x2c], 0x72
jmp 0x18803b3e
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push edi
call dword [sym.imp.gdiplus.dll_GdipFree]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret