Function at 0x404800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4420c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004390f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea ebx, [esi + 0x74]
push 0
mov ecx, ebx
mov dword [esp + 0x30], 0
call fcn.00434271
push 0xffffffffffffffff
lea ecx, [esi + 0x88]
push 0
call fcn.00434271
mov eax, dword [esi + 0x38]
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4049e5
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00401880
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00403690
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00402e30
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4049e9
lea ecx, [ecx]
mov ecx, dword [esi + 0x64]
test ecx, ecx
jne 0x404926
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004041e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00402e30
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.004343b3
mov ebp, dword [esi + 0x9c]
lea edx, [esp + 0x1c]
inc ebp
push edx
mov ecx, esi
mov dword [esi + 0x9c], ebp
call fcn.00404400
mov ecx, dword [eax]
mov edi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
mov byte [esp + 0x28], 3
je 0x4049b1
mov edx, dword [edi + 0xc]
test edx, edx
lea ebp, [edi + 0xc]
jl 0x4049a3
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4049a3
push eax
call fcn.00401880
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x404996
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x4049b1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f80
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x4048e0
jmp 0x4049e9
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x404b64
push ecx
lea eax, [ecx - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00401880
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00403690
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00402e30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x404b64
lea esp, [esp]
mov ecx, dword [esi + 0x64]
test ecx, ecx
jne 0x404aa6
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004041e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.00402e30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404aa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x90]
lea ecx, [esi + 0x88]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.004343b3
mov ebx, dword [esi + 0xa0]
lea eax, [esp + 0x18]
inc ebx
push eax
mov ecx, esi
mov dword [esi + 0xa0], ebx
call fcn.00404400
mov ecx, dword [eax]
mov edi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
mov byte [esp + 0x28], 6
je 0x404b32
mov edx, dword [edi + 0xc]
test edx, edx
lea ebp, [edi + 0xc]
jl 0x404b24
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x404b24
push eax
call fcn.00401880
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x404b1b
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x404b32
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f80
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x404a60
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret