Function at 0x487fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov word [esp + 0x514], 0x5c
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], eax
mov dword [esp + 0x538], eax
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x538], 1
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x538], 2
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x538], 3
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x53c], 4
call fcn.004864b0
mov byte [esp + 0x538], 5
mov edx, dword [0x50c48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x50c48c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push 0x510718
push ecx
mov ebx, 0x4e35e0
mov byte [esp + 0x540], 6
call fcn.004065b0
push eax
lea edx, [esp + 0x2c]
push edx
mov ebx, str..qpyd
mov byte [esp + 0x548], 7
call fcn.004065b0
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 8
call fcn.00406aa0
mov byte [esp + 0x538], 7
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 0x488136
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48815e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.0048a2f0
test eax, eax
je 0x4882c4
lea ecx, [esp + 0x1c]
push 0x510718
push ecx
lea ebx, [esp + 0xf0]
call fcn.004065b0
add esp, 8
mov byte [esp + 0x538], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4881e9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4881dc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4881dc
call fcn.00402a60
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4881d3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4881e9
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00406770
mov byte [esp + 0x538], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488211
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00487910
add esp, 8
test eax, eax
je 0x488248
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x4883fd
call fcn.004a92e9
add esp, 4
xor bl, bl
test byte [esp + 0x18], 1
je 0x488276
mov eax, dword [esp + 0x28]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x488276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x488291
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.00486570
mov eax, dword [esp + 0x518]
test eax, eax
je 0x4882c4
cmp dword [esp + 0x51c], 0
je 0x4882c4
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [0x4d510c]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x488176
lea edx, [esp + 0x34]
push 0x510718
push edx
mov ebx, str.recommend_
call fcn.004065b0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x4e35e0
mov byte [esp + 0x548], 0xa
call fcn.004065b0
push eax
lea edx, [esp + 0x3c]
push edx
mov ebx, str..qpyd
mov byte [esp + 0x550], 0xb
call fcn.004065b0
add esp, 0x18
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 0xc
call fcn.00406aa0
mov byte [esp + 0x538], 0xb
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488370
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.0048a2f0
test eax, eax
je 0x48858a
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0xf0]
call fcn.004065b0
add esp, 8
mov byte [esp + 0x538], 0xd
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4884af
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4884a2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4884a2
call fcn.00402a60
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4883f1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4884af
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.004a92e9
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00406460
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00487b30
add esp, 0xc
test eax, eax
je 0x488248
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str..qpyd
call fcn.004065b0
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 1
lea ecx, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488489
test dx, dx
je 0x488485
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488489
add eax, 4
add ecx, 4
test dx, dx
jne 0x488463
xor eax, eax
jmp 0x48848e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x488248
mov bl, 1
jmp 0x48824a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00406770
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4884d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00487910
add esp, 8
test eax, eax
je 0x48850e
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x4886a7
call fcn.004a92e9
add esp, 4
xor bl, bl
test byte [esp + 0x18], 2
je 0x48853c
mov eax, dword [esp + 0x1c]
and dword [esp + 0x18], 0xfffffffd
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48853c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x488557
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.00486570
mov eax, dword [esp + 0x518]
test eax, eax
je 0x48858a
cmp dword [esp + 0x51c], 0
je 0x48858a
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [0x4d510c]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x488388
lea edx, [esp + 0x1c]
push 0x51071c
push edx
mov ebx, 0x4e35e0
call fcn.004065b0
push eax
lea eax, [esp + 0x34]
push eax
mov ebx, str..qpyd
mov byte [esp + 0x548], 0xe
call fcn.004065b0
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 0xf
call fcn.00406aa0
mov byte [esp + 0x538], 0xe
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4885f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48861a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.0048a2f0
test eax, eax
je 0x488837
lea ecx, [esp + 0x28]
push 0x51071c
push ecx
lea ebx, [esp + 0xf0]
call fcn.004065b0
add esp, 8
mov byte [esp + 0x538], 0x10
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48875c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48874f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48874f
call fcn.00402a60
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48869b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x48875c
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.004a92e9
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00406460
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00487b30
add esp, 0xc
test eax, eax
je 0x48850e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str..qpyd
call fcn.004065b0
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 2
lea ecx, [esp + 0xe8]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488736
test dx, dx
je 0x488732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488736
add eax, 4
add ecx, 4
test dx, dx
jne 0x488710
xor eax, eax
jmp 0x48873b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x48850e
mov bl, 1
jmp 0x488510
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00406770
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488784
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00487910
add esp, 8
test eax, eax
je 0x4887bb
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x488980
call fcn.004a92e9
add esp, 4
xor bl, bl
test byte [esp + 0x18], 4
je 0x4887e9
mov eax, dword [esp + 0x1c]
and dword [esp + 0x18], 0xfffffffb
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4887e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x488804
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.00486570
mov eax, dword [esp + 0x518]
test eax, eax
je 0x488837
cmp dword [esp + 0x51c], 0
je 0x488837
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [0x4d510c]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x488632
lea edx, [esp + 0x3c]
push edx
call fcn.004893c0
mov byte [esp + 0x53c], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48886c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x3c]
call fcn.004878b0
mov byte [esp + 0x538], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4888c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4888ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x538], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48893e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x518]
cmp eax, ebx
mov dword [esp + 0x51c], ebx
je 0x48895c
cmp eax, 0xffffffff
je 0x48895c
push eax
call dword [0x4d5230]
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.004a92e9
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00406460
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00487b30
add esp, 0xc
test eax, eax
je 0x4887bb
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str..qpyd
call fcn.004065b0
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 4
lea ecx, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x488a0c
test dx, dx
je 0x488a08
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x488a0c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4889e6
xor eax, eax
jmp 0x488a11
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4887bb
mov bl, 1
jmp 0x4887bd