Function at 0x4047a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4281c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.0041e877
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
call fcn.0041e877
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
call fcn.0041e877
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 2
call fcn.0041e877
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov byte [esp + 0x28], 3
jne 0x40482b
xor eax, eax
jmp 0x404839
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404830
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004045f0
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x404850
xor eax, eax
jmp 0x40485e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404855
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004045f0
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x404879
or ebx, 0xffffffff
jmp 0x404894
push 0x429e8c
push edi
call fcn.0040d5e0
add esp, 8
test eax, eax
jne 0x404890
or ebx, 0xffffffff
jmp 0x404894
sub eax, edi
mov ebx, eax
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
test eax, eax
jge 0x4048a4
or esi, 0xffffffff
jmp 0x4048bf
push 0x429e8c
push ebp
call fcn.0040d5e0
add esp, 8
test eax, eax
jne 0x4048bb
or esi, 0xffffffff
jmp 0x4048bf
sub eax, ebp
mov esi, eax
test ebx, ebx
jl 0x4049da
test esi, esi
jl 0x4049da
mov eax, dword [edi - 0xc]
sub eax, ebx
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.00404690
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 4
call fcn.004046f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0xc]
sub eax, esi
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404690
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.004046f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40495b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push edi
push ebx
call fcn.0040d495
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x404a53
push ebp
push edi
call fcn.0040d495
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 8
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret