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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c8104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x8fc]
mov dword [edi + 8], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 4
call fcn.00462430
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 5
call fcn.00462430
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 6
call fcn.00462430
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 7
call fcn.00462430
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 8
call fcn.0043b5a0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xc4]
mov byte [ebp - 4], 9
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0xc], esi
xchg dword [ecx], eax
mov ebx, dword [edi + 8]
push 0x40
mov byte [edi + 0xec], 0
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x462263
lea ecx, [esi + 0x10]
mov dword [esi + 4], 1
push ecx
push ebx
mov dword [esi + 8], 1
mov dword [esi], 0x4b5c98
call fcn.00436090
jmp 0x462265
xor esi, esi
lea eax, [esi + 0x10]
mov dword [edi + 0x14], eax
mov ebx, dword [edi + 0x18]
mov dword [edi + 0x18], esi
or esi, 0xffffffff
mov byte [ebp - 4], 0xb
test ebx, ebx
je 0x46229b
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x46229b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x46229b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, dword [edi + 8]
push 0x40
mov dword [ebp - 0x10], eax
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x4622df
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], 1
push ecx
push dword [ebp - 0x10]
mov dword [ebx + 8], 1
mov dword [ebx], 0x4b5c98
call fcn.00436090
jmp 0x4622e1
xor ebx, ebx
lea eax, [ebx + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x20], ebx
mov ebx, eax
mov byte [ebp - 4], 0xe
test ebx, ebx
je 0x462319
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x462319
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x462319
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, dword [edi + 8]
push 0x40
mov dword [ebp - 0x10], eax
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x10
test ebx, ebx
je 0x46235d
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], 1
push ecx
push dword [ebp - 0x10]
mov dword [ebx + 8], 1
mov dword [ebx], 0x4b5c98
call fcn.00436090
jmp 0x46235f
xor ebx, ebx
lea eax, [ebx + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x28], ebx
mov ebx, eax
mov byte [ebp - 4], 0x11
test ebx, ebx
je 0x462397
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x462397
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x462397
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, dword [edi + 8]
push 0x40
mov dword [ebp - 0x10], eax
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x4623db
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], 1
push ecx
push dword [ebp - 0x10]
mov dword [ebx + 8], 1
mov dword [ebx], 0x4b5c98
call fcn.00436090
jmp 0x4623dd
xor ebx, ebx
lea eax, [ebx + 0x10]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x30], ebx
mov ebx, eax
mov byte [ebp - 4], 0x14
test ebx, ebx
je 0x46241a
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x462418
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x462416
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
jmp 0x46241a
jmp 0x46241a
jmp 0x46241a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8