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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476837
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x4a100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebx + 8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x24]
mov esi, dword [ebx + 0x18]
mov byte [ebp - 0x54], al
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x35], al
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
mov byte [ebp - 0x50], dl
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ecx
movlpd qword [ebp - 0x30], xmm0
call dword [eax + 0x18]
mov esi, dword [esi + 0x34]
xor edi, edi
test esi, esi
je 0x41125c
nop dword [eax + eax]
mov eax, dword [esi]
cmp dword [eax + 8], 0x7472756e
jne 0x411255
push 0
push 0x4a1c0c
push 0x4a1638
push 0
push eax
call fcn.00474f33
add esp, 0x14
add edi, dword [eax + 0x38]
mov esi, dword [esi + 4]
test esi, esi
jne 0x411230
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x3c], al
test al, al
jne 0x411280
mov al, byte [ebx + 0x10]
mov byte [ebp - 0x3c], al
test al, al
je 0x411276
cmp dword [ebp - 0x5c], 0
jne 0x411280
mov eax, 0xfffffffd
jmp 0x4114d3
push 0x5c
call fcn.004717ef
mov esi, eax
mov dword [ebp - 0x68], esi
push 0x5c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00474f2d
add esp, 0x10
push dword [ebp - 0x3c]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push ecx
mov ecx, esi
call fcn.00411520
xor edi, edi
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], vtable.AP4_DataBuffer.0
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4114a8
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [eax]
cmp dword [eax + 8], 0x7472756e
jne 0x411497
push 0
push 0x4a1c0c
push 0x4a1638
push 0
push eax
call fcn.00474f33
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov dword [ebp - 0x50], eax
test ecx, ecx
jne 0x41134f
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x3c]
mov esi, dword [eax]
mov edx, dword [ecx]
add edx, dword [ebx + 0x28]
mov ecx, dword [ecx + 4]
adc ecx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, eax
call dword [esi + 0x14]
jmp 0x411387
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
cmp eax, 1
jbe 0x41138a
cmp ecx, eax
jae 0x4114f1
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
mov eax, dword [eax + 0x3c]
mov edx, dword [esi]
mov ecx, dword [eax + ecx*8]
add ecx, dword [ebx + 0x28]
mov eax, dword [eax + edi*8 + 4]
adc eax, dword [ebx + 0x2c]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
inc ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], 0
cmp dword [eax + 0x38], 0
jbe 0x411497
mov ecx, dword [ebp - 0x6c]
mov al, byte [ecx + 0x30]
test al, al
jne 0x4113b7
cmp edi, dword [ecx + 0x34]
jae 0x4113b7
mov eax, dword [ecx + 0x44]
mov al, byte [edi + eax]
movzx esi, al
mov dword [ebp - 0x60], esi
cmp esi, dword [ebp - 0x1c]
jbe 0x4113d5
cmp byte [ebp - 0x24], 0
je 0x4113d8
push esi
lea ecx, [ebp - 0x28]
call fcn.00421500
test eax, eax
jne 0x4113d8
mov dword [ebp - 0x18], esi
mov edx, dword [ebp - 0x20]
mov edi, edx
test esi, esi
je 0x411410
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x34]
push edx
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x4114ff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4114f8
add edi, eax
sub esi, eax
jne 0x4113e1
mov edx, dword [ebp - 0x20]
cmp byte [ebp - 0x35], 0
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
je 0x411428
cmp edi, dword [ecx]
jae 0x411443
movzx eax, byte [ecx + 7]
push eax
push edx
jmp 0x411434
cmp edi, dword [ecx]
jae 0x411443
movzx eax, byte [ecx + 7]
push eax
push dword [ebp - 0x5c]
imul eax, edi
add eax, dword [ecx + 0x10]
push eax
call fcn.00474f39
add esp, 0xc
movzx edx, byte [ebp - 0x35]
lea esi, [edx + 2]
cmp dword [ebp - 0x60], esi
jbe 0x411480
mov eax, dword [ebp - 0x20]
movzx ecx, byte [edx + eax]
movzx eax, byte [edx + eax + 1]
shl ecx, 8
or ecx, eax
lea eax, [ecx*2 + 1]
add eax, ecx
lea eax, [edx + eax*2]
cmp dword [ebp - 0x60], eax
jb 0x4114a8
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00411650
mov ecx, dword [ebp - 0x4c]
inc edi
mov eax, dword [ebp - 0x50]
inc ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [eax + 0x38]
jb 0x4113a2
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x411300
mov ecx, dword [ebp - 0x64]
xor esi, esi
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp byte [ebp - 0x24], 0
je 0x4114d1
push dword [ebp - 0x20]
call fcn.004717e1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047179f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, 0xfffffff6
jmp 0x411502
mov esi, 0xfffffff3
jmp 0x411502
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x411511
push ecx
mov ecx, eax
call fcn.00410190
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0
jmp 0x4114b2