Function at 0x459410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb5b0
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 0x4596a2
push ebx
push ebp
mov ebp, dword [esp + 0x40]
jmp 0x459463
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.004586a0
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 0x45951e
mov edi, edi
push 0
push edi
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.00470640
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 0x4594d8
push 0
lea ecx, [esp + 0x44]
call fcn.00401670
mov edx, dword [esp + 0x40]
cmp byte [edx], bl
mov byte [esp + 0x38], 0
lea eax, [edx - 0x10]
je 0x459502
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4594fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, esi
jl 0x4594a0
jmp 0x45951e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp edi, 0xffffffff
jne 0x459572
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.00458ae0
mov eax, dword [eax]
push eax
push edi
mov ecx, ebp
mov byte [esp + 0x40], 2
call fcn.004705f0
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 0x459572
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, 0x530388
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.00470620
call fcn.004e5159
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.00470620
call fcn.004e5159
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.00459090
test eax, eax
lea ecx, [esp + 0x10]
push 6
je 0x459616
push 0x50c9a0
jmp 0x45961b
push 0x50c998
call fcn.00401880
mov esi, dword [esp + 0x10]
push esi
push 3
push edi
mov ecx, ebp
call fcn.00470620
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 0x45964e
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 0x45966d
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 0x459690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45945f
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