Function at 0x457470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f53f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x38]
mov ecx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
call fcn.00401300
mov eax, dword [esi + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], eax
je 0x457702
push ebx
push ebp
mov ebp, dword [esp + 0x40]
jmp 0x4574c3
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
xor edi, edi
push edx
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00456670
mov eax, dword [ebp + 0x1c]
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x24]
mov esi, eax
cmp esi, edi
jle 0x45757e
mov edi, edi
push 0
push edi
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.0046e720
mov edx, dword [esp + 0x40]
mov ecx, dword [edx - 4]
mov eax, 1
sub eax, ecx
mov ecx, dword [edx - 8]
or ecx, eax
mov byte [esp + 0x38], 1
jge 0x457538
push 0
lea ecx, [esp + 0x44]
call fcn.00401610
mov edx, dword [esp + 0x40]
cmp byte [edx], bl
mov byte [esp + 0x38], 0
lea eax, [edx - 0x10]
je 0x457562
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45755b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, esi
jl 0x457500
jmp 0x45757e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457579
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp edi, 0xffffffff
jne 0x4575d2
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push ebx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00456b40
mov eax, dword [eax]
push eax
push edi
mov ecx, ebp
mov byte [esp + 0x40], 2
call fcn.0046e6d0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4575d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
imul eax, eax, 0xf
add eax, 0x52a378
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fd0
mov eax, dword [esp + 0x18]
push eax
push 1
push edi
mov ecx, ebp
mov byte [esp + 0x44], 3
call fcn.0046e700
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x10]
mov ecx, dword [esi + 0xc]
movsx eax, al
push eax
push ecx
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x20]
push str._s:_d___c:_
push edx
mov byte [esp + 0x4c], 4
call fcn.00401c40
mov ebx, dword [esp + 0x28]
add esp, 0x14
push ebx
push 2
push edi
mov ecx, ebp
call fcn.0046e700
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, esi
mov byte [esp + 0x38], 5
call fcn.004570f0
test eax, eax
lea ecx, [esp + 0x10]
push 6
je 0x457676
push 0x506ab8
jmp 0x45767b
push 0x506ab0
call fcn.00401880
mov esi, dword [esp + 0x10]
push esi
push 3
push edi
mov ecx, ebp
call fcn.0046e700
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4576ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x38], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4576cd
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4576f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4574bf
mov edi, dword [esp + 0x2c]
pop ebp
pop ebx
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4