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

Disassembly:
push 0xffffffffffffffff
push 0x534e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x754
mov eax, dword [0x590f68]
push ebx
mov ebx, dword [esp + 0x768]
push ebp
mov ebp, dword [ebx + 0x9dc]
mov dword [esp + 0x758], eax
mov eax, dword [ebx + 0x9d8]
push esi
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xa04]
test eax, eax
mov edi, ecx
mov ecx, dword [ebx + 0x9f4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
jne 0x4470de
mov eax, dword [ebx + 0xa0c]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x4470e6
mov dword [esp + 0x3c], 1
mov edx, dword [ebx + 0xa00]
mov eax, dword [ebx + 0xa08]
mov cl, byte [ebx + 0x6d8]
mov esi, dword [esp + 0x780]
cmp esi, 1
mov dword [esp + 0x4c], edx
mov dl, byte [ebx + 0x6d9]
mov dword [esp + 0x5c], eax
mov al, byte [ebx + 0x6da]
mov byte [esp + 0x1a], cl
mov cl, byte [ebx + 0x6db]
mov byte [esp + 0x1b], dl
mov dl, byte [ebx + 0x6dc]
mov byte [esp + 0x11], al
mov al, byte [ebx + 0x6dd]
mov byte [esp + 0x12], cl
mov cl, byte [ebx + 0x6de]
mov byte [esp + 0x10], dl
mov byte [esp + 0x13], al
mov byte [esp + 0x23], cl
mov dword [esp + 0x34], 1
jle 0x447211
push 0
lea ecx, [esp + 0x90]
call fcn.00409e60
mov ecx, dword [esp + 0x778]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x76c], eax
jne 0x447181
mov dword [esp + 0x24c], eax
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x244], esi
je 0x4471a3
imul eax, ebp
lea edx, [eax + eax*2]
shl edx, 1
mov dword [esp + 0x240], edx
jmp 0x4471af
imul eax, ebp
shl eax, 1
mov dword [esp + 0x240], eax
lea ecx, [esp + 0x8c]
call fcn.00504c03
cmp eax, 2
jne 0x4471de
lea ecx, [esp + 0x8c]
mov dword [esp + 0x76c], 0xffffffff
call fcn.00409f40
xor eax, eax
jmp 0x4477d5
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x23c]
cdq
idiv ecx
mov dword [esp + 0x34], ecx
test edx, edx
mov esi, eax
je 0x4471fa
inc esi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x76c], 0xffffffff
call fcn.00409f40
mov ecx, edi
mov dword [esp + 0x44], 1
call fcn.00509f07
mov eax, dword [esp + 0x778]
test eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], 1
jne 0x44724d
mov ecx, dword [esp + 0x77c]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x4477d0
mov esi, dword [esp + 0x784]
add esi, 4
mov dword [esp + 0x58], esi
jmp 0x447275
mov esi, dword [esp + 0x58]
push 0x20
call fcn.005043b5
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x76c], 1
je 0x44729d
mov ecx, eax
call fcn.004d0320
mov ebp, eax
jmp 0x44729f
xor ebp, ebp
mov eax, dword [esi + 8]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x774], 0xffffffff
call fcn.00501f70
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public:_void___thiscall_LBitmapBase::constructor_void_]
mov esi, dword [esp + 0x778]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x76c], 2
je 0x447359
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00494650
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x68], eax
imul eax, ecx
shl eax, 5
cdq
and edx, 7
add eax, edx
mov edx, dword [esi]
sar eax, 3
mov dword [esp + 0x74], eax
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x258]
mov dword [esp + 0x68], 0x28
mov word [esp + 0x74], 1
mov word [esp + 0x76], 0x20
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ConvertFromDIB_struct_tagBITMAPINFO___unsigned_char__]
jmp 0x4473be
mov eax, dword [esp + 0x2c]
cmp eax, edi
jl 0x44787e
mov ecx, dword [esp + 0x77c]
cmp eax, dword [ecx + 8]
jge 0x44787e
mov ecx, dword [ecx + 4]
lea esi, [ecx + eax*4]
mov eax, dword [esi]
mov edx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
dec eax
or eax, ecx
jge 0x44739b
push 1
mov ecx, esi
call fcn.00401560
mov esi, dword [esi]
push 0
push 1
push 1
push 0
push esi
lea ecx, [esp + 0x264]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Load_char___int__int__int__struct_struct_file_information__]
cmp eax, 1
jne 0x4477fc
xor edi, edi
cmp dword [ebx + 0xa14], edi
je 0x4473fd
push edi
lea ecx, [esp + 0x254]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ChangeViewPerspective_int_]
mov edx, dword [ebx + 0x9ec]
mov eax, dword [ebx + 0x9e8]
mov ecx, dword [ebx + 0x9e4]
push edx
mov edx, dword [ebx + 0x9e0]
push eax
push ecx
push edx
lea ecx, [esp + 0x260]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Trim_int__int__unsigned_int__unsigned_int_]
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Flip_void_]
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public:_int___thiscall_LBitmapBase::GetWidth_void_]
mov esi, dword [esp + 0x24]
cmp eax, esi
jne 0x447436
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public:_int___thiscall_LBitmapBase::GetHeight_void_]
cmp eax, dword [esp + 0x1c]
je 0x4474ff
mov eax, dword [esp + 0x5c]
xor esi, esi
test eax, eax
je 0x447445
mov esi, 2
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public:_int___thiscall_LBitmapBase::GetBitsPerPixel_void_]
cmp eax, 0x20
je 0x447474
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push esi
push eax
push ecx
lea ecx, [esp + 0x25c]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Size_int__int__unsigned_long_int_]
jmp 0x4474fb
lea ecx, [esp + 0x4d8]
call dword [sym.imp.ltwvc13n.dll_public:_void___thiscall_LBitmapBase::constructor_void_]
lea edx, [esp + 0x250]
push edx
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x770], 4
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::CreateAlphaBitmap_class_LBitmapBase__]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Size_int__int__unsigned_long_int_]
push esi
push eax
push ecx
lea ecx, [esp + 0x25c]
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push esi
push edx
push eax
lea ecx, [esp + 0x4e4]
call edi
lea ecx, [esp + 0x4d8]
push ecx
lea ecx, [esp + 0x254]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::SetAlpha_class_LBitmapBase__]
lea ecx, [esp + 0x4d8]
mov edi, 1
mov byte [esp + 0x76c], 2
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
mov esi, dword [esp + 0x24]
test edi, edi
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x1c], edx
jne 0x44751e
push edi
push edi
push edi
push 4
push 0x20
lea ecx, [esp + 0x264]
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 + 0x250]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void____thiscall_LBitmapBase::ConvertToDIB_void_]
mov edi, eax
push edi
mov dword [esp + 0x58], edi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [eax + 0x20]
lea edx, [eax + ecx*4 + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x48], edx
mov dword [ebp + 4], esi
je 0x447577
lea ecx, [esp + 0x250]
call dword [sym.imp.ltwvc13n.dll_public:_int___thiscall_LBitmapBase::GetBitsPerPixel_void_]
lea ecx, [esp + 0x250]
mov dword [ebp + 0x10], eax
call dword [sym.imp.ltwvc13n.dll_public:_int___thiscall_LBitmapBase::GetBytesPerLine_void_]
mov dword [ebp + 0xc], eax
jmp 0x447581
mov dword [ebp + 0x10], 8
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 8]
push ecx
call fcn.004ea96f
mov edx, eax
mov eax, dword [esp + 0x20]
imul eax, esi
shl eax, 2
add esp, 4
test eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], edx
jle 0x44774e
mov edi, dword [esp + 0x48]
lea esi, [eax - 1]
shr esi, 2
add edi, 3
inc esi
jmp 0x4475c0
mov al, byte [edi - 3]
mov dl, byte [edi - 1]
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov byte [edi - 3], dl
mov byte [edi - 1], al
je 0x447691
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x44767d
mov ecx, dword [ebx + 0xa0c]
test ecx, ecx
je 0x44764b
movzx ecx, byte [edi - 2]
mov dword [esp + 0x14], ecx
movzx edx, al
fild dword [esp + 0x14]
movzx eax, byte [edi - 3]
fmul dword [0x5536a0]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul dword [0x55369c]
faddp st(1)
fild dword [esp + 0x14]
fmul dword [0x553698]
faddp st(1)
fadd dword [0x54fb3c]
call fcn.004eaa58
movzx ecx, byte [esp + 0x23]
cmp eax, ecx
jg 0x447689
imul eax, eax, 0xff
cdq
idiv ecx
mov byte [edi], al
jmp 0x447733
mov cl, byte [edi - 3]
cmp cl, byte [esp + 0x1a]
ja 0x447689
cmp cl, byte [esp + 0x12]
jb 0x447689
mov cl, byte [edi - 2]
cmp cl, byte [esp + 0x1b]
ja 0x447689
cmp cl, byte [esp + 0x10]
jb 0x447689
cmp al, byte [esp + 0x11]
ja 0x447689
cmp al, byte [esp + 0x13]
jb 0x447689
mov byte [edi], 0
jmp 0x447733
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x447733
mov byte [edi], 0xff
jmp 0x447733
movzx ecx, byte [edi - 2]
mov dword [esp + 0x14], ecx
movzx edx, al
fild dword [esp + 0x14]
movzx eax, byte [edi - 3]
fmul dword [0x5536a0]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul dword [0x55369c]
faddp st(1)
fild dword [esp + 0x14]
fmul dword [0x553698]
faddp st(1)
fadd dword [0x54fb3c]
call fcn.004eaa58
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov byte [edi - 3], al
mov byte [edi - 2], al
mov byte [edi - 1], al
je 0x4476f3
movzx ecx, byte [edi]
cmp ecx, eax
jl 0x4476ef
mov ecx, eax
mov byte [edi], cl
jmp 0x447724
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov byte [edi], al
je 0x447724
cmp al, byte [esp + 0x1a]
ja 0x447724
cmp al, byte [esp + 0x12]
jb 0x447724
cmp al, byte [esp + 0x1b]
ja 0x447724
cmp al, byte [esp + 0x10]
jb 0x447724
cmp al, byte [esp + 0x11]
ja 0x447724
cmp al, byte [esp + 0x13]
jb 0x447724
mov byte [edi], 0
movzx ecx, byte [edi]
cmp ecx, eax
jge 0x44772d
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov byte [ecx], al
mov ecx, dword [esp + 0x40]
add edi, 4
inc ecx
dec esi
mov dword [esp + 0x40], ecx
jne 0x4475c0
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x447775
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0x250]
mov dword [ebp + 0x14], edx
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Free_void_]
test edi, edi
je 0x447790
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
add esi, ecx
lea ecx, [esp + 0x250]
mov dword [esp + 0x44], esi
mov dword [esp + 0x76c], 0xffffffff
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x447271
mov eax, 1
mov ecx, dword [esp + 0x764]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x754]
pop ebx
call fcn.004e9911
add esp, 0x760
ret 0x14
mov ecx, dword [esp + 0x77c]
mov eax, dword [esp + 0x2c]
cmp eax, dword [ecx + 8]
jge 0x44787e
mov edx, dword [ecx + 4]
lea eax, [edx + eax*4]
push eax
lea eax, [esp + 0x34]
push 0x553688
push eax
call fcn.00404c20
add esp, 0xc
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x778], 3
call fcn.00515e6f
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x76c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44785f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x250]
mov dword [esp + 0x76c], 0xffffffff
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
xor eax, eax
jmp 0x4477d5
call fcn.004fd76e
int3