Function at 0x454d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ea724
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x30]
mov ecx, 0x5195ac
call edx
add eax, 0x10
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], esi
mov dword [ebp], esi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x3c]
lea edi, [ebx + 0x2c]
mov esi, str.text
mov dword [esp + 0x18], 1
call fcn.00474270
test eax, eax
je 0x454df0
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x454df2
xor eax, eax
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00466b70
add esp, 8
mov dword [esp + 0x28], 1
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00406bd0
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454e3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
push str.block
sub ecx, 0xffffff80
push ebx
push ecx
mov ecx, str.img_src
call fcn.00451eb0
push 0x50
mov esi, eax
call fcn.004c99ad
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 4
test eax, eax
je 0x454e7a
push 0
push eax
mov ecx, esi
call fcn.00456a90
mov esi, eax
jmp 0x454e7c
xor esi, esi
push ebx
mov ecx, 0x51b9a0
mov byte [esp + 0x2c], 3
call fcn.00422200
mov ebx, eax
test ebx, ebx
je 0x454ec2
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x454ebf
cmp dword [edi + 0x20], 0
jne 0x454ebf
mov eax, dword [edi]
test eax, eax
je 0x454eb6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x454eb6
mov dword [edi], 0
push edi
call fcn.004c9610
add esp, 4
mov dword [esi + 0x2c], ebx
mov edi, dword [esp + 0x14]
lea eax, [esi + 0x48]
test edi, edi
jne 0x454ed1
xor ecx, ecx
jmp 0x454ee5
mov ecx, edi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x454ed6
sub ecx, ebx
sar ecx, 1
push edi
mov ebx, ecx
call fcn.00406af0
call fcn.00436af0
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x20]
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push ebx
push ebx
mov ecx, esi
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454f6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14