Function at 0x484210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdbf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push edi
mov ebp, ecx
mov edi, 1
push edi
lea eax, [ebp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.005789d4
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.004026e0
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 2
lea ecx, [esp + 0xc]
call fcn.0040daf0
mov ecx, eax
call fcn.0040d7f0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jne 0x4842b1
mov byte [esp + 0x30], bl
lea ecx, [esp + 0xc]
call fcn.00401b70
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0057897a
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push esi
lea esi, [eax + eax]
cmp dword [ecx - 4], edi
mov dword [esp + 0x3c], ebx
jle 0x4842cf
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00402470
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [esp + 0x28], ebx
call fcn.0047bb10
add esp, 0x10
test eax, eax
je 0x4842fb
mov eax, dword [esp + 0x18]
movzx edx, byte [esp + 0x40]
or dword [eax + 8], edx
jmp 0x484496
lea eax, [esp + 0x3c]
push eax
push 0x5ef71c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00426980
mov byte [esp + 0x34], 3
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x484488
push 0xc
call fcn.0057aa20
movzx ecx, byte [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 4]
mov esi, dword [eax - 0xc]
add esp, 4
cmp ecx, edi
jle 0x484368
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00402470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esi + esi]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0047bc90
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add esp, 0x10
cmp eax, ebx
jle 0x484488
lea ecx, [ecx]
push 0xc
mov dword [esp + 0x44], ebx
call fcn.0057aa20
mov edx, dword [esp + 0x1c]
mov esi, eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
add esp, 4
inc edx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x4843cf
mov eax, edi
push eax
lea ecx, [esp + 0x18]
call fcn.00402470
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
lea edx, [edi + edi]
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call fcn.0047bb10
add esp, 0x10
test eax, eax
je 0x4843fc
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x40]
mov dword [eax + 4], esi
jmp 0x48442b
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x484419
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.00402470
mov eax, dword [esp + 0x14]
push esi
lea edx, [edi + edi]
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call fcn.0047bc90
add esp, 0x10
cmp dword [esp + 0x3c], ebx
jl 0x484488
lea ecx, [esp + 0x3c]
push ecx
push 0x5ef714
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00426980
mov byte [esp + 0x34], 4
push eax
lea ecx, [esp + 0x18]
call fcn.00405540
mov byte [esp + 0x34], 3
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 0x48447b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jg 0x484390
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x14]
call fcn.00401b70
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x10]
call fcn.00401b70
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0057897a
mov ecx, dword [esp + 0x2c]
pop esi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8