Function at 0x455570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ea6c9
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 ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x3c]
lea edi, [ebp + 0x2c]
mov esi, str.text
mov dword [esp + 0x1c], 1
call fcn.00474270
cmp eax, ebx
je 0x4555ef
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x4555f1
xor eax, eax
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00466b70
add esp, 8
mov dword [esp + 0x28], 1
mov eax, dword [eax]
lea ecx, [esp + 0x18]
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 0x45563a
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 ebp
push ecx
mov ecx, str.img_src
call fcn.00451eb0
push 0x7c
mov esi, eax
call fcn.004c99ad
add esp, 4
cmp eax, ebx
je 0x45566e
push esi
mov esi, eax
call fcn.004620d0
mov ebp, eax
jmp 0x455670
xor ebp, ebp
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x20]
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 4], 3
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov edx, dword [ecx]
mov eax, dword [edx]
push ebp
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
push ebx
push ebx
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x34]
push ebx
push ebx
mov ecx, ebp
call eax
mov edx, dword [esp + 0x18]
push ebp
call fcn.004623a0
mov esi, 0x4fab88
mov dword [esp + 0x14], 0xb
call fcn.00474270
cmp eax, ebx
je 0x4556fc
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
add eax, 8
push 0x4fc548
push eax
call fcn.004cd30b
add esp, 0xc
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
push edx
call fcn.0045c030
cmp eax, ebx
je 0x455744
mov esi, dword [eax]
mov eax, dword [ebp + 0x78]
cmp eax, ebx
je 0x455722
cmp eax, esi
je 0x455722
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x78], esi
mov eax, dword [ebp + 0x48]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x455744
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x48]
push ebx
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x30]
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esi + 0xc], ebp
mov dword [esi + 8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455776
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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