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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5138e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.xs__element.0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
movzx eax, byte [ebx + 0x24]
mov byte [esi + 0x24], al
movzx eax, byte [ebx + 0x25]
mov byte [esi + 0x25], al
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
mov eax, 0x66666667
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov ecx, dword [ebx + 0x4c]
sub ecx, dword [ebx + 0x48]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41279b
cmp eax, 0xccccccc
ja 0x412836
push eax
lea ecx, [esi + 0x48]
call fcn.0040fa30
mov edi, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x48]
mov eax, dword [esi + 0x48]
cmp edx, edi
je 0x412798
nop dword [eax]
mov dword [eax], vtable.xs__alternative.0
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
add edx, 0x14
mov dword [eax + 0x10], ecx
add eax, 0x14
cmp edx, edi
jne 0x412770
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], 0
lea edi, [esi + 0x68]
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebx + 0x6c]
sub eax, dword [ebx + 0x68]
sar eax, 2
mov dword [ebp - 0x10], edi
test eax, eax
je 0x41281a
cmp eax, 0x3fffffff
ja 0x41283b
push eax
mov ecx, edi
call fcn.0040f880
mov eax, dword [ebx + 0x68]
mov esi, dword [ebx + 0x6c]
mov edi, dword [edi]
sub esi, eax
push esi
push eax
push edi
call fcn.004f3590
mov eax, dword [ebp - 0x10]
add esp, 0xc
sar esi, 2
lea ecx, [edi + esi*4]
mov esi, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov cl, byte [ebx + 0x74]
mov eax, esi
mov byte [esi + 0x74], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040f7e0
call fcn.0040f7e0
int3