Function at 0x4047c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428220
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.0041e8d7
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.0041e8d7
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.0041e8d7
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.0041e8d7
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 0x40484b
xor eax, eax
jmp 0x404859
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404850
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404610
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x404870
xor eax, eax
jmp 0x40487e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404875
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00404610
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x404899
or ebx, 0xffffffff
jmp 0x4048b4
push 0x429e8c
push edi
call fcn.0040d640
add esp, 8
test eax, eax
jne 0x4048b0
or ebx, 0xffffffff
jmp 0x4048b4
sub eax, edi
mov ebx, eax
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
test eax, eax
jge 0x4048c4
or esi, 0xffffffff
jmp 0x4048df
push 0x429e8c
push ebp
call fcn.0040d640
add esp, 8
test eax, eax
jne 0x4048db
or esi, 0xffffffff
jmp 0x4048df
sub eax, ebp
mov esi, eax
test ebx, ebx
jl 0x4049fa
test esi, esi
jl 0x4049fa
mov eax, dword [edi - 0xc]
sub eax, ebx
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.004046b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 4
call fcn.00404710
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 0x404935
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.004046b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.00404710
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 0x40497b
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.0040d4f5
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 0x4049b3
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 0x4049d2
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 0x4049f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x404a73
push ebp
push edi
call fcn.0040d4f5
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 0x404a2e
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 0x404a51
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 0x404a70
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 0x404a92
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