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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov esi, esp
mov dword [esi + 0x160], ebp
mov dword [esi + 0x164], esp
mov dword [esi + 0x170], 0xffffffff
mov dword [esi + 0x16c], 0x49df60
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x168]
mov ebx, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [esi + 0x168], edx
mov dword fs:[0], ecx
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x120], edx
mov edx, dword [eax + 0x1c]
mov dword [esi + 4], edi
mov edi, dword [eax + 0x20]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], edx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x14], edi
mov edi, dword [eax + 0x28]
mov dword [esi + 0x20], edx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x114], edi
mov edi, dword [eax + 0x30]
mov dword [esi + 0x110], edx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x10c], edi
mov edi, dword [eax + 0x38]
mov dword [esi + 0x108], edx
mov edx, dword [eax + 0x3c]
mov dword [esi + 0x11c], edi
lea edi, [esi + 0x30]
mov dword [esi + 0x118], edx
push 0
push 0x10001
push 0x1000
push 0x800
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push edi
call fcn.0049eb50
add esp, 0x24
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
or edx, ecx
je 0x49c2e7
movsd xmm1, qword [esi + 0x48]
movsd xmm0, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x50]
mov dword [esi + 0x170], 0
movsd qword [esi + 0xe8], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0xe0], xmm0
movsd qword [esi + 0xf0], xmm2
movsd qword [esi + 0xf8], xmm1
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0xd4], ecx
mov dword [esi + 0xd8], eax
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0xdc], eax
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
mov ecx, dword [esi + 0xe8]
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0xb0], ecx
push dword [esi + 0x24]
push dword [esi + 4]
push edi
call fcn.0049f5b0
add esp, 0xc
mov edi, dword [esi + 0x30]
test edi, edi
je 0x49c2fe
mov eax, dword [esi + 0x38]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x88], eax
mov eax, ebx
shr ebx, 1
mov dword [esi + 0x90], ecx
and eax, 1
add ebx, eax
mov eax, dword [esi + 0x3c]
cmp ebx, ecx
mov dword [esi + 0x8c], eax
jne 0x49c306
test ecx, 0x1ff
je 0x49c3a3
mov eax, edi
mov edi, 0x25
mov ebx, 0x5295ad
test edx, edx
jne 0x49c316
jmp 0x49c325
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx], 0
jmp 0x49c38d
mov ebx, dword [esi + 0x34]
mov edi, dword [esi + 0x38]
jmp 0x49c325
mov eax, edi
mov edi, 0x16
mov ebx, 0x529587
test edx, edx
je 0x49c325
shl edx, 2
push 4
push edx
push eax
call fcn.00402cf0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ebx, eax
mov dword [eax + 8], edi
mov dword [eax], 0
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x49c354
shl eax, 2
push 4
push eax
push dword [esi + 0xd8]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x49c372
shl eax, 2
push 4
push eax
push dword [esi + 0xec]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x49c38d
push 1
push eax
push dword [esi + 0xf8]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x168]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edx
mov dword [esi + 0x170], 9
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x38], eax
mov dword [esi + 0x104], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x40], ecx
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edi
call fcn.004a07f0
add esp, 4
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 0x104]
mov byte [esi + 9], 1
mov dword [esi + 0x170], 1
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], edi
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x24]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
push dword [esi + 0x20]
push dword [esi + 0x14]
lea eax, [esi + 0x30]
push eax
call fcn.0049f5b0
add esp, 0xc
mov edi, dword [esi + 0x30]
test edi, edi
je 0x49c5ed
mov eax, dword [esi + 0x38]
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x3c]
cmp ecx, ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], eax
jne 0x49c5f5
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x170], 8
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x38], eax
mov dword [esi + 0x68], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x40], ecx
push eax
mov dword [esi + 4], edx
mov dword [esi + 0x14], edi
call fcn.004a07f0
add esp, 4
mov ecx, dword [esi + 0x14]
mov byte [esi + 0x1a], 1
mov byte [esi + 0x1b], 1
mov dword [esi + 0x170], 2
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0xb8], ecx
mov ecx, dword [esi + 0x68]
mov dword [esi + 0xbc], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc0], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], eax
lea ecx, [esi + 0xa0]
lea eax, [esi + 0xb4]
mov dword [esi + 0xcc], edx
push ecx
push eax
call fcn.0049f850
add esp, 8
test eax, eax
je 0x49c664
mov dword [esi + 0x28], eax
lea eax, [esi + 0x6c]
lea ecx, [esi + 0xa0]
mov dword [esi + 0x2c], edx
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
mov dword [esi + 0x170], 3
push ecx
push eax
call fcn.0049f850
add esp, 8
test eax, eax
je 0x49c682
lea edi, [esi + 0xa0]
lea ecx, [esi + 0xec]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
push edi
push edx
push eax
push ecx
call fcn.004a03b0
add esp, 0x10
lea edi, [esi + 0xa0]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
lea ecx, [esi + 0x28]
push edi
push edx
push eax
push ecx
call fcn.004a03b0
add esp, 0x10
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0x170], 4
mov dword [esi + 0x14], edx
push edx
mov dword [esi + 0x20], eax
push eax
call fcn.004eb3d0
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x30]
je 0x49c715
mov dword [eax + 4], 0x529587
mov dword [eax + 8], 0x16
mov dword [eax], 0
mov al, 1
mov bl, 1
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49c6a0
shl eax, 2
push 4
push eax
push dword [esi + 0x20]
call fcn.00402cf0
add esp, 0xc
jmp 0x49c6a0
mov edi, dword [esi + 0x34]
mov ebx, dword [esi + 0x38]
jmp 0x49c614
mov eax, edi
mov edi, 0x529587
mov ebx, 0x16
test edx, edx
je 0x49c614
shl edx, 2
push 4
push edx
push eax
call fcn.00402cf0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov ebx, eax
mov dword [eax], 0
test ecx, ecx
je 0x49c63d
shl ecx, 2
push 4
push ecx
push dword [esi + 0x6c]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x84]
test eax, eax
je 0x49c336
shl eax, 2
push 4
push eax
push dword [esi + 0x80]
call fcn.00402cf0
add esp, 0xc
jmp 0x49c336
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [eax + 4], 0x529587
mov dword [eax + 8], 0x16
mov dword [eax], 0
mov eax, dword [esi + 4]
jmp 0x49c6c4
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [eax + 4], 0x529587
mov dword [eax + 8], 0x16
mov dword [eax], 0
mov al, 1
mov dword [esi + 4], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x49c6b8
shl eax, 2
push 4
push eax
push dword [esi + 0x28]
call fcn.00402cf0
add esp, 0xc
cmp byte [esi + 4], 0
je 0x49c6fa
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x49c6dc
shl eax, 2
push 4
push eax
push dword [esi + 0xb4]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x49c6fa
shl eax, 2
push 4
push eax
push dword [esi + 0xc8]
call fcn.00402cf0
add esp, 0xc
test bl, bl
mov ebx, dword [ebp + 8]
je 0x49c336
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x49c62c
jmp 0x49c63d
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
push dword [esi + 0x120]
push dword [esi + 0x1c]
push ecx
call fcn.0049f5b0
add esp, 0xc
mov edi, dword [esi + 0x30]
mov ecx, dword [ebp + 8]
test edi, edi
je 0x49c7ca
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x34]
cmp dword [esi + 0x24], eax
jae 0x49c793
cmp dword [esi + 0xb0], eax
jb 0x49c793
cmp dword [esi + 0xa4], edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], edx
jne 0x49c7e3
mov eax, dword [esi + 0xa0]
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 1
mov dword [esi + 0x170], 5
push edx
push eax
push edi
call fcn.004eb4b0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x49c7e3
mov al, 1
mov bl, 1
mov dword [ecx + 4], 0x529587
mov dword [ecx + 8], 0x16
mov dword [ecx], 0
mov dword [esi + 4], eax
test edx, edx
je 0x49c5cc
shl edx, 2
push 4
push edx
push edi
call fcn.00402cf0
add esp, 0xc
jmp 0x49c5cc
mov dword [ecx + 4], 0x52959d
mov dword [ecx + 8], 0x10
mov dword [ecx], 0
jmp 0x49c5c5
mov eax, dword [esi + 0x6c]
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 1
mov dword [esi + 0x170], 5
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x134], eax
lea eax, [esi + 0x124]
push eax
push dword [esi + 0x118]
push dword [esi + 0x11c]
call fcn.0049f430
add esp, 0xc
test eax, eax
je 0x49c8fd
lea ecx, [esi + 0x124]
lea edi, [esi + 0x80]
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 1
push ecx
push edx
push eax
push edi
call fcn.004a03b0
add esp, 0x10
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov byte [esi + 2], 1
mov byte [esi + 3], 1
mov dword [esi + 0x170], 6
push eax
lea eax, [esi + 0x124]
push eax
call fcn.0049a560
add esp, 8
lea ecx, [esi + 0x124]
mov byte [esi + 2], 1
mov byte [esi + 3], 1
push ecx
push edx
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004a03b0
add esp, 0x10
lea edi, [esi + 0x124]
mov byte [esi + 2], 1
mov byte [esi + 3], 1
lea ecx, [esi + 0x60]
push edi
push edx
push eax
push ecx
call fcn.004a12a0
add esp, 0x10
test al, al
je 0x49c92e
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [eax + 4], 0x529587
mov dword [eax + 8], 0x16
mov dword [eax], 0
mov al, 1
mov dword [esi + 4], eax
jmp 0x49cb5d
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
mov bl, 1
mov dword [eax + 4], 0x52959d
mov dword [eax + 8], 0x10
mov dword [eax], 0
mov al, 1
mov dword [esi + 4], eax
test edx, edx
jne 0x49c7b6
jmp 0x49c5cc
mov byte [esi + 2], 1
mov byte [esi + 3], 0
lea ecx, [esi + 0x30]
lea edx, [esi + 0x6c]
push dword [esi + 0x110]
push dword [esi + 0x114]
call fcn.0049cdd0
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x49cb16
movsd xmm0, qword [esi + 0x3c]
movsd xmm2, qword [esi + 0x44]
movsd xmm1, qword [esi + 0x4c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [esi + 0x170], 7
movsd qword [esi + 0x144], xmm0
movsd qword [esi + 0x14c], xmm2
movsd qword [esi + 0x154], xmm1
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], ecx
mov dword [esi + 0x140], edx
lea ecx, [esi + 0x30]
lea edx, [esi + 0xb4]
push dword [esi + 0x108]
push dword [esi + 0x10c]
call fcn.0049d010
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x49cb34
mov ecx, dword [esi + 0x60]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0xd0]
movsd xmm1, qword [esi + 0xd8]
cmp dword [esi + 0x10], 0
mov dword [edx], ecx
mov ecx, dword [esi + 0x64]
mov dword [edx + 4], ecx
movsd qword [edx + 8], xmm0
movsd xmm0, qword [esi + 0xe0]
movsd qword [edx + 0x10], xmm1
mov ecx, dword [esi + 0x158]
movsd xmm1, qword [esi + 0x140]
movsd qword [edx + 0x18], xmm0
movsd xmm0, qword [esi + 0xe8]
movsd qword [edx + 0x20], xmm0
movsd xmm0, qword [esi + 0xf0]
movsd qword [edx + 0x28], xmm0
movsd xmm0, qword [esi + 0xf8]
movsd qword [edx + 0x30], xmm0
movsd xmm0, qword [esi + 0x138]
mov dword [edx + 0x58], ecx
movsd qword [edx + 0x40], xmm1
movsd qword [edx + 0x38], xmm0
movsd xmm0, qword [esi + 0x148]
movsd qword [edx + 0x48], xmm0
movsd xmm0, qword [esi + 0x150]
movsd qword [edx + 0x50], xmm0
movsd xmm0, qword [esi + 0x4c]
mov dword [edx + 0x5c], eax
mov eax, dword [esi + 0x34]
movsd qword [esi + 0x98], xmm0
movsd xmm0, qword [esi + 0x44]
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x38]
movsd qword [esi + 0x90], xmm0
movsd xmm0, qword [esi + 0x3c]
mov dword [edx + 0x64], eax
movsd xmm1, qword [esi + 0x90]
movsd qword [esi + 0x88], xmm0
movsd xmm0, qword [esi + 0x88]
movsd qword [edx + 0x70], xmm1
movsd xmm1, qword [esi + 0x98]
movsd qword [edx + 0x68], xmm0
movsd qword [edx + 0x78], xmm1
je 0x49cadc
mov eax, dword [esi + 0x10]
shl eax, 2
push 4
push eax
push dword [esi + 0x1c]
call fcn.00402cf0
add esp, 0xc
cmp dword [esi + 0x14], 0
je 0x49caf6
mov eax, dword [esi + 0x14]
shl eax, 2
push 4
push eax
push dword [esi + 0x20]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x49cb0e
shl eax, 2
push 4
push eax
push dword [esi + 0x28]
call fcn.00402cf0
add esp, 0xc
mov ebx, dword [ebp + 8]
jmp 0x49c38d
mov eax, dword [esi + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
xor ebx, ebx
mov dword [edx + 4], eax
mov al, 1
mov dword [edx + 8], ecx
mov dword [edx], 0
mov dword [esi + 4], eax
jmp 0x49cb5d
mov eax, dword [esi + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esi + 0x138]
mov dword [edx], 0
call fcn.0049a510
mov dword [esi + 4], 0
xor ebx, ebx
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x1c]
test eax, eax
je 0x49cb78
shl eax, 2
push 4
push eax
push dword [esi + 0x60]
call fcn.00402cf0
add esp, 0xc
mov edx, dword [esi + 0x10]
test edx, edx
jne 0x49c7b6
jmp 0x49c5cc