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

Disassembly:
push 0xffffffffffffffff
push 0x49d898
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 1
call fcn.00425cd0
lea eax, [esp + 0x40]
lea ebp, [esi + 4]
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 2
call fcn.00402260
mov edi, dword [esp + 0x40]
push ecx
mov dword [esp + 0x18], esp
add edi, 0xfffffff0
mov ebx, esp
push edi
mov byte [esi + 0x5d], 2
mov byte [esi + 0x5c], 7
call fcn.004017c0
lea ecx, [esp + 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
call fcn.0042d960
add esp, 8
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x3c], 3
call fcn.00402260
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [esp + 0x18], esp
mov ebx, esp
push edi
call fcn.004017c0
lea ecx, [esp + 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
call fcn.0042db50
add esp, 8
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0x3c], 4
call fcn.00402260
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00406b20
lea ecx, [esi + 0x70]
push ecx
lea ecx, [esp + 0x20]
call fcn.004258b0
lea edx, [esi + 0x8c]
push edx
lea ecx, [esp + 0x20]
call fcn.004258c0
lea eax, [esi + 0xa8]
push eax
lea ecx, [esp + 0x20]
call fcn.004258d0
lea ecx, [esi + 0xc4]
push ecx
lea ecx, [esp + 0x20]
call fcn.004258e0
mov esi, dword [esi + 0x28]
push ecx
sub esi, 0x10
mov dword [esp + 0x1c], esp
mov ebx, esp
push esi
call fcn.004017c0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [ebx], eax
call fcn.00425c50
mov eax, dword [ebp]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.00427a40
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x1c]
jne 0x407470
call fcn.004258f0
mov byte [esp + 0x38], bl
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x407444
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40746c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4074bf
call fcn.004258f0
mov byte [esp + 0x38], bl
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407492
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8