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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5316e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x308
mov eax, dword [0x590f68]
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x604]
mov dword [esp + 0x30c], eax
mov dword [esp + 0x1c], ebx
call fcn.004ffe5d
mov ecx, dword [ebx + 0x660]
mov edx, dword [ecx + 0x1a8]
xor esi, esi
xor eax, eax
cmp edx, esi
jle 0x42a4ae
cmp eax, esi
jl 0x42a86b
cmp eax, dword [ecx + 0x1a8]
jge 0x42a86b
inc eax
cmp eax, edx
jl 0x42a495
lea ecx, [esp + 0x80]
call dword [sym.imp.ltwvc13n.dll_public:_void___thiscall_LBitmapBase::constructor_void_]
mov eax, 0x30
mov edi, 1
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x320], esi
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov word [esp + 0x64], di
mov word [esp + 0x66], 0x20
mov dword [esp + 0x68], esi
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
call fcn.00510202
mov eax, dword [esp + 0x48]
push 0xc
push eax
mov byte [esp + 0x324], 1
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push edi
push esi
push 0x19
push 0x10
push 0x10
lea ecx, [ebx + 0x604]
mov dword [esp + 0x50], eax
call fcn.00500109
push 5
call dword [sym.imp.user32.dll_GetSysColor]
mov ecx, dword [ebx + 0x608]
push eax
push ecx
call dword [sym.imp.comctl32.dll_ImageList_SetBkColor]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x56aa08
mov byte [esp + 0x31c], 2
call fcn.00527fd7
mov eax, dword [eax + 0xc]
push 0x153
push eax
call dword [sym.imp.user32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x18]
call fcn.00510468
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x608]
push 0xffffff
push edx
push eax
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
mov ecx, dword [ebx + 0x608]
push ecx
call dword [sym.imp.comctl32.dll_ImageList_GetImageCount]
mov eax, dword [ebx + 0x660]
mov ecx, dword [eax + 0x1a8]
xor edx, edx
cmp ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
jle 0x42a84f
cmp edx, esi
jl 0x42a86b
cmp edx, dword [eax + 0x1a8]
jge 0x42a86b
mov eax, dword [eax + 0x1a4]
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx + 0x14]
lea eax, [eax + edx*4]
xor eax, eax
cmp edi, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
jle 0x42a836
jmp 0x42a600
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
nop
cmp eax, esi
jl 0x42a86b
cmp eax, dword [ecx + 0x14]
jge 0x42a86b
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x34], eax
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x38]
cmp eax, esi
lea edx, [esp + 0x54]
je 0x42a634
push eax
jmp 0x42a641
mov eax, dword [ebx + 0x660]
mov ecx, dword [eax + 0x734]
push ecx
lea ecx, [esp + 0x84]
push edx
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ConvertFromDIB_struct_tagBITMAPINFO___unsigned_char__]
mov eax, dword [esp + 0x3c]
push esi
push esi
push esi
push 4
push eax
lea ecx, [esp + 0x94]
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 + 0x80]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
mov ebx, eax
cmp ebx, esi
je 0x42a85d
mov esi, dword [sym.imp.kernel32.dll_GlobalLock]
push ebx
call esi
add eax, 0x28
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x42a6ab
push 0x2400
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
je 0x42a6ab
push eax
call esi
mov dword [edi + 0x38], eax
mov edi, dword [edi + 0x38]
test edi, edi
je 0x42a6c3
mov esi, dword [esp + 0xc]
mov ecx, 0x900
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.kernel32.dll_GlobalLock]
push ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
push 2
push 0x18
push 0x18
lea ecx, [esp + 0x8c]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Size_int__int__unsigned_long_int_]
push 0x10
push 0x10
push 4
push 4
lea ecx, [esp + 0x90]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Trim_int__int__unsigned_int__unsigned_int_]
lea ecx, [esp + 0x80]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
push eax
mov dword [esp + 0x10], eax
call esi
lea edi, [eax + 0x28]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x56aa08
mov ecx, dword [esp + 0x44]
push 0x10
push 0x10
push ecx
mov byte [esp + 0x328], 3
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.00510468
mov eax, dword [esp + 0x3c]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x24]
mov esi, eax
sar esi, 3
push edi
shl esi, 8
push esi
push edx
call dword [sym.imp.gdi32.dll_SetBitmapBits]
push esi
call fcn.004ea96f
mov ebx, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x56aa08
mov eax, dword [esp + 0x44]
push 0x10
push 0x10
push eax
mov byte [esp + 0x328], 4
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call fcn.00510468
mov ecx, dword [esp + 0x2c]
push ebx
push esi
push ecx
call dword [sym.imp.gdi32.dll_SetBitmapBits]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov eax, dword [edx + 0x608]
push eax
call dword [sym.imp.comctl32.dll_ImageList_Add]
push ebx
call fcn.004ea481
mov esi, 0x56a400
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x31c], 3
mov dword [esp + 0x28], esi
call fcn.005104bf
lea ecx, [esp + 0x20]
mov byte [esp + 0x31c], 2
mov dword [esp + 0x20], esi
call fcn.005104bf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x1c]
inc eax
xor esi, esi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x42a5f7
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x660]
mov ecx, dword [eax + 0x1a8]
inc edx
cmp edx, ecx
mov dword [esp + 0x38], edx
jl 0x42a5c0
lea eax, [ebx + 0x604]
cmp eax, esi
jne 0x42a870
xor eax, eax
jmp 0x42a873
push esi
push esi
push 0x551864
call fcn.00515e6f
jmp 0x42a8a0
jmp fcn.004fd76e
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x4ec]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push eax
push esi
push 0x1109
push edx
call edi
push eax
call fcn.004ffe73
mov eax, dword [ebx + 0x4ec]
push esi
push 1
push 0x1107
push eax
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x56a400
mov byte [esp + 0x31c], 1
call fcn.005104bf
lea ecx, [esp + 0x40]
mov byte [esp + 0x31c], 0
call fcn.0051025d
lea ecx, [esp + 0x80]
mov dword [esp + 0x31c], 0xffffffff
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30c]
call fcn.004e9911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret