Function at 0x4128f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7419
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [esp + 0x60]
xor ebp, ebp
lea eax, [esp + 0x30]
mov dword [esp + 0x58], ebp
push eax
mov dword [esp + 0x28], ebp
call fcn.0044d610
mov ebx, 1
lea esi, [esp + 0x30]
mov dword [esp + 0x58], ebx
call fcn.00412690
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4f05c4
call fcn.00406bd0
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 2
call fcn.004123f0
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004065a0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x24], ebx
test ecx, ecx
jle 0x412abb
test ebp, ebp
jl 0x412b10
cmp ebp, ecx
jg 0x412b10
movzx eax, word [eax + ebp*2]
xor edx, edx
div dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4f05c4
mov dword [esp + 0x2c], edx
call fcn.00406bd0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x60], 5
call fcn.00414f90
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x34]
push eax
call edx
mov byte [esp + 0x58], 6
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x412a61
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x412a56
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x412a56
call fcn.004065a0
mov dword [esp + 0x28], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x412a4b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x28]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x412a61
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00406af0
mov byte [esp + 0x58], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412aab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
inc ebp
cmp ebp, ecx
jl 0x4129b6
add eax, 0xfffffff0
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x30]
mov dword [esp + 0x58], 7
call fcn.00415290
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004c9610
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push 0x80070057
call fcn.00406e60
int3