Function at 0x407e90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41da18
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
xor ebp, ebp
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebp
call fcn.00407210
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], ebp
call fcn.00407210
mov edx, dword [0x42820c]
mov eax, dword [edx + 0xc]
mov ecx, 0x42820c
mov byte [esp + 0x4c], 1
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
mov byte [esp + 0x4c], 2
mov dword [esp + 0x58], ebp
xor esi, esi
mov bl, 3
jmp 0x407f30
lea ecx, [esp + 0x58]
push ecx
push 0x41fa14
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
call fcn.00407750
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], bl
call fcn.00406230
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], 0xffffffff
mov edi, dword [esp + 0x54]
je 0x407f99
push edi
call fcn.00410b5c
mov dword [esp + esi*4 + 0x28], eax
inc esi
add esp, 4
cmp esi, 4
jl 0x407f30
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x58]
push ecx
push 0x41fa14
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
call fcn.00407750
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
mov byte [esp + 0x4c], 4
cmp esi, ebp
je 0x408065
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x408053
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x408053
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407fff
cmp eax, dword [esi]
jne 0x407fff
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408033
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408154
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0040f656
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x40804a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x54], edi
jmp 0x408065
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.00405720
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40808a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], 0xffffffff
je 0x4080b0
push edi
call fcn.00410b5c
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x38], eax
inc ecx
add esp, 4
cmp ecx, 4
mov dword [esp + 0x1c], ecx
jl 0x407fa1
xor eax, eax
mov ecx, dword [esp + eax + 0x24]
mov edx, dword [esp + eax + 0x34]
cmp ecx, edx
jg 0x408159
jl 0x4081e0
add eax, 4
cmp eax, 0x10
jl 0x4080b2
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408116
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40813e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
call fcn.00402360
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40817a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40819f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40824e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret