Function at 0x433ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53243d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov eax, dword [0x590f68]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0xe0]
mov dword [esp + 0x314], eax
mov dword [esp + 0x20], edi
call fcn.004ffe5d
lea ecx, [edi + 0xe8]
call fcn.005104bf
mov eax, dword [edi + 0xd0]
mov ecx, dword [eax + 0x5e0]
xor esi, esi
cmp ecx, esi
push esi
lea ecx, [edi + 0x54]
je 0x433b17
push esi
push 5
jmp 0x433b1a
push 5
push esi
call fcn.00509383
mov ecx, edi
call fcn.00433450
lea ecx, [esp + 0x88]
call dword [sym.imp.ltwvc13n.dll_public:_void___thiscall_LBitmapBase::constructor_void_]
mov ecx, dword [edi + 0xd0]
mov eax, 0x30
mov dword [esp + 0x5c], 0x28
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov word [esp + 0x68], 1
mov word [esp + 0x6a], 0x20
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov eax, dword [ecx + 0x730]
cmp eax, esi
mov dword [esp + 0x324], esi
je 0x433b9b
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x90]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ConvertFromDIB_struct_tagBITMAPINFO___unsigned_char__]
mov eax, dword [edi + 0xd0]
mov ebx, dword [eax + 0x5dc]
push 2
push ebx
push ebx
lea ecx, [esp + 0x94]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Size_int__int__unsigned_long_int_]
lea ecx, [esp + 0x88]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Flip_void_]
push edi
lea ecx, [esp + 0x4c]
call fcn.00510202
mov ecx, dword [esp + 0x50]
push 0xc
push ecx
mov byte [esp + 0x32c], 1
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0
push 0
push 0
mov esi, eax
push 4
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x58], esi
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ColorRes_int__unsigned_long_int__struct_tagRGBQUAD___struct_HPALETTE_____unsigned_int_]
lea ecx, [esp + 0x88]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, dword [esp + 0x4c]
push ebx
push ebx
add eax, 0x28
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0xe8]
call fcn.00510468
mov eax, esi
cdq
mov ecx, dword [edi + 0xec]
and edx, 7
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x10]
sar esi, 3
imul esi, ebx
imul esi, ebx
push eax
push esi
push ecx
mov dword [esp + 0x4c], esi
call dword [sym.imp.gdi32.dll_SetBitmapBits]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [edi + 0xd0]
mov eax, dword [eax + 0x5dc]
push 1
push 0
push 0x19
push eax
push eax
lea ecx, [edi + 0xe0]
call fcn.00500109
lea eax, [edi + 0xe8]
test eax, eax
je 0x433c99
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0xe4]
push 0xffffff
push eax
push ecx
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
mov eax, dword [edi + 0xd0]
mov ecx, dword [eax + 0x1a8]
xor edx, edx
test ecx, ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x10], edx
jle 0x433f56
mov edi, edi
test edx, edx
jl 0x433f72
cmp edx, dword [eax + 0x1a8]
jge 0x433f72
mov eax, dword [eax + 0x1a4]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
xor eax, eax
cmp dword [ecx + 0x14], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jle 0x433f3d
jmp 0x433d10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx]
test eax, eax
jl 0x433f72
cmp eax, dword [ecx + 0x14]
jge 0x433f72
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x34], ecx
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x38]
inc ecx
test eax, eax
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x5c]
je 0x433d47
push eax
jmp 0x433d54
mov eax, dword [edi + 0xd0]
mov ecx, dword [eax + 0x734]
push ecx
lea ecx, [esp + 0x8c]
push edx
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ConvertFromDIB_struct_tagBITMAPINFO___unsigned_char__]
lea ecx, [esp + 0x88]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x433f62
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
add eax, 0x28
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x433db5
push 0x2400
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
je 0x433db5
push eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x433dd5
mov esi, dword [esp + 0x1c]
mov ecx, 0x900
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
push 2
push ebx
push ebx
lea ecx, [esp + 0x94]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Size_int__int__unsigned_long_int_]
mov eax, dword [esp + 0x44]
push 0
push 0
push 0
push 4
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ColorRes_int__unsigned_long_int__struct_tagRGBQUAD___struct_HPALETTE_____unsigned_int_]
lea ecx, [esp + 0x88]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
lea edi, [eax + 0x28]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x56aa08
mov ecx, dword [esp + 0x4c]
push ebx
push ebx
push ecx
mov byte [esp + 0x330], 2
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x30]
call fcn.00510468
mov edx, dword [esp + 0x30]
push edi
push esi
push edx
call dword [sym.imp.gdi32.dll_SetBitmapBits]
push esi
call fcn.004ea96f
mov ecx, esi
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x1c], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0x56aa08
mov eax, dword [esp + 0x4c]
push ebx
push ebx
push eax
mov byte [esp + 0x330], 3
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.00510468
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push edi
push esi
push ecx
call dword [sym.imp.gdi32.dll_SetBitmapBits]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0xe4]
push ecx
push eax
call dword [sym.imp.comctl32.dll_ImageList_Add]
push edi
call fcn.004ea481
mov edi, 0x56a400
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x324], 2
mov dword [esp + 0x34], edi
call fcn.005104bf
lea ecx, [esp + 0x2c]
mov byte [esp + 0x324], 1
mov dword [esp + 0x2c], edi
call fcn.005104bf
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x14]
mov edi, dword [esp + 0x20]
inc eax
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x433d05
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0xd0]
mov ecx, dword [eax + 0x1a8]
inc edx
cmp edx, ecx
mov dword [esp + 0x10], edx
jl 0x433cd0
lea eax, [edi + 0xe0]
test eax, eax
jne 0x433f77
jmp 0x433f7a
push 0
push 0
push 0x551864
call fcn.00515e6f
jmp 0x433fa3
jmp fcn.004fd76e
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x70]
mov esi, dword [sym.imp.user32.dll_SendMessageA]
push eax
push 0
push 0x1109
push edx
call esi
push eax
call fcn.004ffe73
mov eax, dword [edi + 0x70]
push 0
push 1
push 0x1107
push eax
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x324], 0
call fcn.0051025d
lea ecx, [esp + 0x88]
mov dword [esp + 0x324], 0xffffffff
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
mov ecx, dword [esp + 0x31c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x314]
call fcn.004e9911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret