Function at 0x401730
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4391b0
push 0xffffffffffffffff
push 0x4ab5a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov eax, dword [0x4d0954]
xor eax, dword [esp + 0x2c4]
push ebx
push esi
push edi
mov dword [esp + 0x2c0], eax
mov edi, ecx
mov ecx, dword [edi + 0x1f8]
mov eax, dword [edi + 0x1f4]
mov dx, word [esp + 0x2dc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov esi, 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x2cc], ebx
mov dword [esp + 0xc], 0x28
mov dword [esp + 0x10], eax
mov word [esp + 0x18], si
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ltwvc13n.dll_public:_void___thiscall_LBitmapBase::constructor_void_]
mov eax, dword [esp + 0x2d8]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d4], 1
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::ConvertFromDIB_struct_tagBITMAPINFO___unsigned_char__]
cmp eax, esi
je 0x4392c4
cmp dword [0x4d2464], ebx
jne 0x439278
push ebx
push ebx
push 0x4b4544
call fcn.0048ad08
lea ecx, [esp + 0x38]
mov dword [0x4d2464], esi
mov byte [esp + 0x2cc], bl
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
mov eax, dword [esp + 0x2d4]
add eax, 0xfffffff0
mov dword [esp + 0x2cc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x439501
mov eax, dword [edi + 0x1f8]
mov ecx, dword [edi + 0x1fc]
push ebp
push eax
push ecx
push ebx
push ebx
lea ecx, [esp + 0x4c]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Trim_int__int__unsigned_int__unsigned_int_]
mov eax, dword [edi + 0x188]
lea esi, [edi + 0x188]
push 0x4b4540
push eax
mov ebp, 2
call fcn.00451d1d
add esp, 8
test eax, eax
jne 0x43930c
mov esi, 6
jmp 0x439448
mov eax, dword [esi]
push 0x4b453c
push eax
call fcn.00451d1d
add esp, 8
test eax, eax
jne 0x439333
mov edx, dword [edi + 0x70]
mov ebp, dword [edx + 0x370]
mov esi, 5
jmp 0x439448
mov eax, dword [esi]
push 0x4b4538
push eax
call fcn.00451d1d
add esp, 8
test eax, eax
jne 0x439351
mov esi, 0x6f
jmp 0x439448
mov eax, dword [esi]
push 0x4b4534
push eax
call fcn.00451d1d
add esp, 8
test eax, eax
jne 0x439378
mov eax, dword [edi + 0x70]
mov ebp, dword [eax + 0x370]
mov esi, 0xa
jmp 0x439448
push 0x4b4530
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x439394
mov esi, 0x38
jmp 0x439448
push 0x4b3da0
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x4393b0
mov esi, 0x4b
jmp 0x439448
push 0x4b3da8
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x4393d7
mov ecx, dword [edi + 0x70]
mov esi, dword [ecx + 0x37c]
neg esi
sbb esi, esi
and esi, 0x54
add esi, 3
jmp 0x439448
push 0x4b3da4
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x439401
mov edx, dword [edi + 0x70]
mov esi, dword [edx + 0x380]
neg esi
sbb esi, esi
and esi, 0x102
add esi, 4
jmp 0x439448
push 0x4b3d9c
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x43942d
mov eax, dword [edi + 0x70]
mov edx, dword [eax + 0x384]
xor ecx, ecx
cmp edx, ebx
setne cl
add ecx, 0x8e
mov esi, ecx
jmp 0x439448
push 0x4b452c
push esi
call fcn.0040186b
add esp, 8
test al, al
je 0x4394c5
mov esi, 0x4c
mov edi, dword [esp + 0x2d8]
mov eax, dword [edi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
dec eax
or eax, ecx
jge 0x439476
push 1
lea ecx, [esp + 0x2dc]
call fcn.00401b54
mov edi, dword [esp + 0x2d8]
mov edx, dword [esp + 0x2e0]
push ebx
push ebx
push ebp
push edx
push esi
push edi
lea ecx, [esp + 0x54]
call dword [sym.imp.ltwvc13n.dll_public_virtual:_int___thiscall_LBitmapBase::Save_char___int__int__int__unsigned_int__struct__SAVEFILEOPTION__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2d0], bl
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
lea eax, [edi - 0x10]
mov dword [esp + 0x2d0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x439500
cmp dword [0x4d2460], ebx
jne 0x4394d9
push ebx
push ebx
push 0x4b4514
call fcn.0048ad08
lea ecx, [esp + 0x3c]
mov dword [0x4d2460], 1
mov byte [esp + 0x2d0], bl
call dword [sym.imp.ltwvc13n.dll_public_virtual:_void___thiscall_LBitmapBase::destructor_void_]
lea ecx, [esp + 0x2d8]
call fcn.004023a1
pop ebp
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c0]
xor ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebx
call fcn.00450999
add esp, 0x2c4
ret 0xc