Function at 0x41e8d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470e48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + 0x10a18]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [ecx + 0xbc]
add esi, esi
add esi, esi
mov edx, dword [eax + esi + 8]
mov edi, dword [eax + esi + 0x10]
add eax, esi
sub edi, edx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
sub eax, edx
mov dword [esp + 0x20], edi
mov edi, dword [ecx + 0xdc18]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0xdc10]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esp + 0x2c]
lea edi, [esp + 0x30]
call fcn.0041e860
add esp, 0x10
test al, al
je case.0x41e9de.16
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [ebx + ecx]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x10a18]
mov edi, dword [edi + 0xbc]
mov edi, dword [edi + esi + 4]
add edi, 0xfffffff5
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
cmp edi, 7
ja case.0x41e9de.16
movzx edi, byte [edi + 0x41ecf0]
jmp dword [edi*4 + 0x41ece4]
mov edi, dword [eax + 0x10a18]
mov edi, dword [edi + 0xbc]
add edi, esi
cmp byte [eax + 0x10a44], 0
mov esi, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
jne 0x41ec05
test esi, esi
je 0x41ea1a
test edi, edi
jne 0x41ec05
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x10a18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0xdc10]
mov edi, dword [ecx + 0xdc18]
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x40]
lea edi, [esp + 0x3c]
call fcn.0041e860
add esp, 0x10
test al, al
je 0x41eae2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.004060b0
mov esi, dword [ebp + 0xc]
mov ecx, edi
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x7c], 0
call fcn.004061e0
mov edx, eax
mov byte [esp + 0x70], 1
call fcn.00406120
lea eax, [esp + 0x28]
call fcn.00406100
mov eax, edi
mov dword [esp + 0x70], 0xffffffff
call fcn.00406100
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x10a18]
mov edx, dword [ecx + 0xdc10]
mov edi, dword [ecx + 0xdc18]
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
add dword [esp + 0x14], esi
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esp + 0x2c]
lea edi, [esp + 0x30]
call fcn.0041e860
add esp, 0x10
test al, al
je case.0x41e9de.16
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, ecx
sub edx, esi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
mov edi, edx
sub edi, eax
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x20]
sub edi, esi
add edi, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
neg esi
mov dword [esp + 0x58], edi
add ecx, edx
mov dword [esp + 0x48], esi
neg eax
lea esi, [esp + 0x50]
lea edi, [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], eax
call fcn.004060b0
mov esi, dword [ebp + 0xc]
mov edx, edi
push edx
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x7c], 2
call fcn.004061e0
mov edx, eax
mov byte [esp + 0x70], 3
call fcn.00406120
lea eax, [esp + 0x24]
call fcn.00406100
mov eax, edi
mov dword [esp + 0x70], 0xffffffff
call fcn.00406100
lea esi, [esp + 0x50]
lea edi, [esp + 0x2c]
call fcn.004060b0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x48]
mov dword [esp + 0x70], 4
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, edi
push eax
call edx
mov eax, edi
call fcn.00406100
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [esp + 0x50]
lea edi, [esp + 0x38]
call fcn.004060b0
mov esi, dword [ebp + 0xc]
mov eax, edi
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
mov dword [esp + 0x7c], 5
call fcn.004061e0
mov edx, eax
mov byte [esp + 0x70], 6
call fcn.00406120
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045d511
push esi
call fcn.0045d511
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 8]
push eax
jmp 0x41ecc0
lea esi, [esp + 0x50]
lea edi, [esp + 0x38]
call fcn.004060b0
mov esi, dword [ebp + 0xc]
mov ecx, edi
push ecx
lea edx, [esp + 0x48]
push edx
push esi
mov dword [esp + 0x7c], 7
call fcn.004061e0
mov ecx, eax
mov byte [esp + 0x70], 8
mov edx, dword [esi]
xor eax, eax
mov dword [edx + 4], eax
mov ecx, dword [ecx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
lea ebx, [esp + 0x50]
call fcn.00455ed0
mov eax, dword [esp + 0x44]
mov esi, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045d511
push esi
call fcn.0045d511
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 8]
push ecx
call fcn.0045d511
push esi
call fcn.0045d511
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc