Function at 0x53c6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fc1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp + 8]
mov ebx, eax
movzx eax, cx
push eax
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [edi]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x53c716
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
test eax, eax
je 0x53c731
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push str.resource_type_undefined
cmp dword [esi + 0x10], 0
sete byte [ebp + 0x10]
push dword [ebp + 0x10]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x22
push eax
call fcn.00481110
add esp, 0x14
cmp dword [esi + 0x14], 8
jb 0x53c75f
mov esi, dword [esi]
push esi
mov esi, dword [ebp - 0x18]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x53c77d
push 0xa
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 4]
push esi
push str.resouce__u_not_found
push edi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x26
push eax
call fcn.004a3af0
add esp, 0x18
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [ebp - 0x20]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 4]
mov edi, eax
push esi
push str.failed_to_lock_resource__u
push edi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x2a
push ecx
call fcn.004a3af0
add esp, 0x18
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push str.failed_to_alloc_image_buffer_for__u
push eax
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x2d
push eax
call fcn.0053c580
mov esi, dword [ebp + 0x10]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
mov dword [ebp - 0x18], eax
test eax, eax
lea eax, [ebp - 0x1c]
cmove esi, ecx
mov ecx, dword [ebp + 8]
push ecx
push str.failed_to_lock_image_buffer_for__u
push eax
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x30
push eax
mov dword [ebp - 0x1c], esi
call fcn.0053c580
mov esi, dword [ebp - 0x18]
push ebx
push edi
push esi
call fcn.006c1de0
add esp, 0x24
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
test edi, edi
je 0x53c85a
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push ebx
push str.failed_to_create_IStream_for__u
push eax
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x34
push eax
call fcn.0053c580
add esp, 0x18
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x53c8b9
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x53c8bb
xor al, al
jmp 0x53c8bd
xor esi, esi
mov al, 1
push ebx
push str.failed_to_create_Bitmap_for__u
push eax
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcGdipImageLoader.cpp
push 0x37
push eax
call fcn.00481110
mov ebx, dword [ebp + 0xc]
add esp, 0x18
push 0xffffffffffffffff
push ebx
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x53c8ec
mov dword [esi + 8], eax
cmp dword [ebx], 0
mov ecx, esi
mov eax, dword [esi]
push 1
setne bl
call dword [eax]
mov dword [ebp - 4], 1
test edi, edi
je 0x53c90b
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x53c919
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x53c927
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc