Function at 0x300af2f9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x30110d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 0xc]
push ebp
cdq
sub eax, edx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], ebp
sar ebx, 1
call fcn.300092c9
mov edi, dword [esp + 0x48]
push 8
push 1
mov byte [esp + 0x3c], 1
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x28]
call fcn.300092c9
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 4]
cmp ecx, ebp
mov byte [esp + 0x34], 2
mov dword [esp + 0x48], eax
je 0x300af44d
cmp eax, ebx
jge 0x300af443
cmp eax, ebp
je 0x300af43c
push ebx
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, 0x4900
lea ecx, [esp + 0x14]
push eax
call fcn.30004ed0
mov ecx, dword [edi + 4]
call fcn.30009579
mov ebp, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
lea ecx, [ebp + 0xec]
call fcn.30009550
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x104]
push eax
call fcn.30009550
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x44]
push 1
push edx
mov dword [ecx + 0xe0], 9
mov ecx, dword [edi + 4]
call fcn.3000a70e
mov ecx, dword [edi + 4]
call fcn.300094e2
cmp dword [esp + 0x48], ebx
jl 0x300af3fa
mov dword [esi + 0x34], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.30009391
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0
call fcn.30009391
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.3002a878
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x14
xor eax, eax
jmp 0x300af38f
mov eax, 0x20
jmp 0x300af38f
mov ecx, dword [esi + 0x40]
sub eax, ebx
cmp ecx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x48], eax
jne 0x300af4d4
mov ecx, dword [edi + 4]
call fcn.30009579
mov eax, dword [esp + 0x44]
mov ecx, dword [edi + 4]
push 1
push eax
call fcn.3000a70e
mov eax, dword [edi + 8]
test eax, eax
je 0x300af499
mov ecx, dword [esp + 0x3c]
call fcn.30009408
mov ecx, dword [edi + 4]
test eax, eax
jne 0x300af5a4
mov eax, dword [edi + 0x18]
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
push 0x16c
call fcn.3000882f
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x34], 3
je 0x300af5c0
mov ecx, dword [edi + 4]
push ecx
push 2
push 0
push ebp
push ebp
mov ecx, eax
call fcn.30029883
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x34], 2
test eax, eax
je 0x300af5c7
push ebx
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 0x4920
lea ecx, [esp + 0x14]
sub edx, eax
push edx
call fcn.30004ed0
cmp dword [esp + 0x48], ebx
jge 0x300af569
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x300af569
mov eax, dword [esp + 0x3c]
push 0xd
push ebp
push ebp
push eax
call fcn.300246a4
mov ebx, dword [esi + 0x40]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0xec]
call fcn.30009550
lea edx, [esp + 0x14]
lea ecx, [ebx + 0x104]
push edx
call fcn.30009550
mov eax, dword [esi + 0x40]
push 1
push ebp
mov dword [eax + 0xe0], 9
mov ecx, dword [esi + 0x40]
call fcn.3000a70e
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x40]
push 0xd
push eax
push ebp
push ecx
mov ecx, dword [edi + 4]
call fcn.300246a4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x300af3fa
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x300af583
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
push 0xd
push eax
push ebp
mov dword [esi + 0x40], 0
push ecx
mov ecx, dword [edi + 4]
call fcn.300246a4
jmp 0x300af3fa
call fcn.30009408
test eax, eax
jne 0x300af499
mov ecx, dword [edi + 4]
push 1
mov edx, dword [ecx]
call dword [edx + 0x30]
jmp 0x300af499
xor eax, eax
jmp 0x300af4c8
xor eax, eax
jmp 0x300af4e6