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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov esi, esp
mov dword [esi + 0x168], ebp
mov dword [esi + 0x16c], esp
mov dword [esi + 0x178], 0xffffffff
mov dword [esi + 0x174], 0x49cca0
mov dword [esi + 0xe8], ecx
lea eax, [esi + 0x170]
mov edi, edx
mov ecx, dword fs:[0]
mov dword [esi + 0x170], ecx
mov dword fs:[0], eax
lea eax, [edx + 0x38]
mov ecx, dword [edx]
mov dword [esi + 0xe4], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 0xe0], ecx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.004ff8d0
add esp, 8
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
cmp dword [edi + 0x50], 0
mov dword [esi + 8], edi
mov dword [esi + 0xdc], eax
mov dword [esi + 0xd8], edx
mov dword [esi + 0xd4], ecx
je 0x49c329
lea eax, [edi + 0x50]
mov dword [esi + 0x178], 0
lea ecx, [esi + 0x20]
push eax
push ecx
call fcn.004ff8d0
add esp, 8
mov eax, dword [esi + 0x28]
movsd xmm0, qword [esi + 0x20]
mov edi, dword [esi + 8]
mov dword [esi + 0x48], eax
movsd qword [esi + 0x40], xmm0
jmp 0x49c330
mov dword [esi + 0x40], 0
mov eax, dword [edi + 0xac]
mov ecx, 0xc
mov dword [esi + 0xc], eax
mul ecx
jo 0x49ca10
mov ebx, eax
test eax, eax
js 0x49ca21
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x5c]
test ebx, ebx
mov dword [esi + 0xcc], ecx
mov ecx, dword [edi + 0x68]
mov dword [esi + 0xc8], edx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xc4], ecx
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x8c], edx
mov edx, dword [edi + 0x74]
mov dword [esi + 0x90], ecx
mov ecx, dword [edi + 0x78]
mov dword [esi + 0x94], edx
mov edx, dword [edi + 0x7c]
mov dword [esi + 0x98], ecx
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x9c], edx
mov edx, dword [edi + 0x84]
mov dword [esi + 0xa0], ecx
mov ecx, dword [edi + 0x88]
mov dword [esi + 0xa4], edx
mov edx, dword [edi + 0x8c]
mov dword [esi + 0xa8], ecx
mov ecx, dword [edi + 0x90]
mov dword [esi + 0xac], edx
mov edx, dword [edi + 0x94]
mov dword [esi + 0xb0], ecx
mov ecx, dword [edi + 0x98]
mov dword [esi + 0xb4], edx
mov edx, dword [edi + 0x9c]
mov dword [esi + 0xb8], ecx
mov ecx, dword [edi + 0xa0]
mov edi, dword [edi + 0xa4]
mov dword [esi + 0xbc], edx
mov dword [esi + 0xc0], ecx
je 0x49c42d
push 4
push ebx
call fcn.0043c290
add esp, 8
mov ecx, eax
test eax, eax
jne 0x49c432
jmp 0x49c513
mov ecx, 4
mov edx, 0xaaaaaaab
mov eax, ebx
mov dword [esi + 0xec], ecx
mul edx
shr edx, 3
mov dword [esi + 0xf0], edx
push ebx
push edi
push ecx
call fcn.0054ad50
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, 8
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 8]
mov edi, dword [eax + 0xb8]
mov eax, edi
mul ecx
jo 0x49ca32
mov ebx, eax
test eax, eax
js 0x49ca43
mov eax, dword [esi + 8]
test ebx, ebx
mov edx, dword [eax + 0xb0]
je 0x49c4a4
push 4
push ebx
mov dword [esi + 0xc], edx
call fcn.0043c290
mov edx, dword [esi + 0xc]
add esp, 8
test eax, eax
jne 0x49c4a9
jmp 0x49c513
mov eax, 4
lea ecx, [edi*8]
shr ebx, 3
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], ebx
push ecx
push edx
push eax
call fcn.0054ad50
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0x100], edi
mov ecx, 0xc
mov edi, dword [eax + 0xc4]
mov eax, edi
mul ecx
jo 0x49ca54
mov ebx, eax
test eax, eax
js 0x49ca65
mov eax, dword [esi + 8]
test ebx, ebx
mov eax, dword [eax + 0xbc]
mov dword [esi + 0xc], eax
je 0x49c520
push 4
push ebx
call fcn.0043c290
add esp, 8
mov ecx, eax
test eax, eax
jne 0x49c525
push 4
push ebx
call fcn.00570650
add esp, 8
ud2
mov ecx, 4
mov edx, 0xaaaaaaab
mov eax, ebx
mov dword [esi + 0x104], ecx
mul edx
shr edx, 3
mov dword [esi + 0x108], edx
push ebx
push dword [esi + 0xc]
push ecx
call fcn.0054ad50
add esp, 0xc
mov ecx, dword [esi + 8]
mov dword [esi + 0x10c], edi
mov eax, dword [ecx + 0xc8]
mov edx, dword [ecx + 0xcc]
cmp dword [ecx + 0xd0], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x88], edx
je 0x49c5a3
lea eax, [ecx + 0xd0]
mov dword [esi + 0x178], 4
lea ecx, [esi + 0x20]
push eax
push ecx
call fcn.004ff8d0
add esp, 8
mov eax, dword [esi + 0x28]
movsd xmm0, qword [esi + 0x20]
mov ecx, dword [esi + 8]
mov dword [esi + 0x58], eax
movsd qword [esi + 0x50], xmm0
jmp 0x49c5b4
mov dword [esi + 0x50], 0
mov dword [esi + 0x178], 5
mov eax, dword [ecx + 0xdc]
movups xmm0, xmmword [ecx + 8]
mov dword [esi + 0x178], 5
mov dword [esi + 0x84], eax
mov eax, dword [ecx + 0xe0]
movaps xmmword [esi + 0x150], xmm0
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0xe4]
mov dword [esi + 0x68], eax
mov eax, dword [ecx + 0xe8]
mov dword [esi + 0x7c], eax
mov eax, dword [ecx + 0xec]
mov dword [esi + 0x64], eax
mov eax, dword [ecx + 0xf0]
mov dword [esi + 0x6c], eax
mov eax, dword [ecx + 0xf4]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0xf8]
mov dword [esi + 0x70], eax
mov eax, dword [ecx + 0xfc]
mov dword [esi + 0x74], eax
mov eax, dword [ecx + 0x100]
mov dword [esi + 0x78], eax
lea eax, [ecx + 0x104]
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.004a6cd0
add esp, 8
mov eax, dword [esi + 8]
mov dword [esi + 0x178], 9
lea ecx, [esi + 0x20]
add eax, 0x110
push eax
push ecx
call fcn.004a8900
add esp, 8
mov eax, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov dword [esi + 0x178], 6
lea ecx, [esi + 0x134]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x28]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esi + 0x20]
mov dword [esi + 0x124], eax
mov eax, dword [esi + 8]
movsd qword [esi + 0x11c], xmm0
mov edx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
push eax
call fcn.004a58f0
add esp, 4
mov eax, dword [esi + 8]
mov dword [esi + 0x178], 7
movups xmm0, xmmword [eax + 0x18]
add eax, 0x28
movaps xmmword [esi + 0x140], xmm0
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004bab60
add esp, 8
movsd xmm1, qword [esi + 0x18]
mov eax, dword [esi + 8]
movsd xmm0, qword [esi + 0x10]
mov dword [esi + 0x178], 8
movsd qword [esi + 0x38], xmm1
movaps xmm1, xmmword [esi + 0x140]
add eax, 0x128
movsd qword [esi + 0x30], xmm0
movups xmmword [esi + 0x20], xmm1
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a7de0
add esp, 8
mov ebx, dword [esi + 0xe8]
mov edi, dword [esi + 0xe0]
movsd xmm0, qword [esi + 0x128]
xor eax, eax
cmp dword [esi + 0x60], 1
movsd xmm1, qword [esi + 0x120]
movsd xmm2, qword [esi + 0x110]
mov dword [ebx + 4], edi
mov edi, dword [esi + 0xe4]
sete al
xor ecx, ecx
cmp dword [esi + 0x64], 1
mov dword [ebx], edi
mov edi, dword [esi + 0x130]
movsd qword [ebx + 0x38], xmm0
movsd xmm0, qword [esi + 0x40]
sete cl
xor edx, edx
cmp dword [esi + 0x68], 1
mov dword [ebx + 0x40], edi
mov edi, dword [esi + 0xdc]
sete dl
mov dword [ebx + 0x44], edi
mov edi, dword [esi + 0xd8]
mov dword [ebx + 0x48], edi
mov edi, dword [esi + 0xd4]
mov dword [ebx + 0x4c], edi
mov edi, dword [esi + 0x48]
movsd qword [ebx + 0x50], xmm0
movsd xmm0, qword [esi + 0xec]
mov dword [ebx + 0x58], edi
mov edi, dword [esi + 0xd0]
mov dword [ebx + 0x5c], edi
mov edi, dword [esi + 0xcc]
mov dword [ebx + 0x60], edi
mov edi, dword [esi + 0xc8]
mov dword [ebx + 0x64], edi
mov edi, dword [esi + 0xc4]
mov dword [ebx + 0x68], edi
mov edi, dword [esi + 0x8c]
mov dword [ebx + 0x6c], edi
mov edi, dword [esi + 0x90]
mov dword [ebx + 0x70], edi
mov edi, dword [esi + 0x94]
mov dword [ebx + 0x74], edi
mov edi, dword [esi + 0x98]
mov dword [ebx + 0x78], edi
mov edi, dword [esi + 0x9c]
mov dword [ebx + 0x7c], edi
mov edi, dword [esi + 0xa0]
mov dword [ebx + 0x80], edi
mov edi, dword [esi + 0xa4]
mov dword [ebx + 0x84], edi
mov edi, dword [esi + 0xa8]
mov dword [ebx + 0x88], edi
mov edi, dword [esi + 0xac]
mov dword [ebx + 0x8c], edi
mov edi, dword [esi + 0xb0]
mov dword [ebx + 0x90], edi
mov edi, dword [esi + 0xb4]
mov dword [ebx + 0x94], edi
mov edi, dword [esi + 0xb8]
mov dword [ebx + 0x98], edi
mov edi, dword [esi + 0xbc]
mov dword [ebx + 0x9c], edi
mov edi, dword [esi + 0xc0]
mov dword [ebx + 0xa0], edi
mov edi, dword [esi + 0xf4]
movsd qword [ebx + 0xa4], xmm0
movsd xmm0, qword [esi + 0xf8]
mov dword [ebx + 0xac], edi
mov edi, dword [esi + 0x100]
movsd qword [ebx + 0xb0], xmm0
movsd xmm0, qword [esi + 0x104]
mov dword [ebx + 0xb8], edi
mov edi, dword [esi + 0x10c]
movsd qword [ebx + 0xbc], xmm0
movsd xmm0, qword [esi + 0x50]
mov dword [ebx + 0xc4], edi
mov edi, dword [esi + 0xc]
mov dword [ebx + 0xc8], edi
mov edi, dword [esi + 0x88]
mov dword [ebx + 0xcc], edi
mov edi, dword [esi + 0x58]
movsd qword [ebx + 0xd0], xmm0
movaps xmm0, xmmword [esi + 0x150]
mov dword [ebx + 0xd8], edi
mov edi, dword [esi + 0x84]
mov dword [ebx + 0xdc], edi
mov edi, dword [esi + 0x80]
mov dword [ebx + 0xe0], edi
mov dword [ebx + 0xe4], edx
mov edx, dword [esi + 0x7c]
mov dword [ebx + 0xe8], edx
mov dword [ebx + 0xec], ecx
mov ecx, dword [esi + 0x6c]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 8]
mov dword [ebx + 0xf8], eax
mov eax, dword [esi + 0x74]
mov edx, dword [ecx + 0x138]
mov edi, dword [ecx + 0x13c]
mov dword [ebx + 0xfc], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x100], eax
movups xmmword [ebx + 8], xmm0
movsd qword [ebx + 0x114], xmm1
movsd xmm1, qword [esi + 0x118]
movsd qword [ebx + 0x104], xmm2
mov eax, dword [esi + 0x13c]
movsd xmm2, qword [esi + 0x38]
movsd qword [ebx + 0x10c], xmm1
movsd xmm1, qword [esi + 0x134]
mov dword [ebx + 0x124], eax
mov eax, dword [esi + 0x18]
movsd qword [ebx + 0x11c], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [ebx + 0x30], xmm2
movsd xmm2, qword [esi + 0x20]
movsd qword [ebx + 0x28], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [ebx + 0x18], xmm2
movsd qword [ebx + 0x20], xmm1
mov dword [ebx + 0x130], eax
movsd xmm1, qword [esi + 0x10]
mov eax, dword [ecx + 0x134]
movsd qword [ebx + 0x128], xmm1
mov dword [ebx + 0x134], eax
mov dword [ebx + 0x138], edx
mov edx, dword [ecx + 0x140]
mov dword [ebx + 0x13c], edi
mov edi, dword [ecx + 0x144]
mov dword [ebx + 0x140], edx
mov edx, dword [ecx + 0x148]
mov ecx, dword [esi + 0x170]
mov dword [ebx + 0x144], edi
mov dword [ebx + 0x148], edx
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x178], 1
call fcn.004fec10
jmp 0x49ca74
mov dword [esi + 0x178], 1
call fcn.004fec10
jmp 0x49ca74
mov dword [esi + 0x178], 2
call fcn.004fec10
jmp 0x49ca74
mov dword [esi + 0x178], 2
call fcn.004fec10
jmp 0x49ca74
mov dword [esi + 0x178], 3
call fcn.004fec10
jmp 0x49ca74
mov dword [esi + 0x178], 3
call fcn.004fec10
ud2