Function at 0x468120
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x558518
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebp
push esi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
cmp dword [esp + 0x74], 0
je 0x468176
push 0
push 0
push 0
push 0
call dword [0x55e098]
push eax
mov ecx, edi
call fcn.004f5f5b
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18
cmp dword [esp + 0x70], 0
je 0x4683b7
lea ecx, [esp + 0x78]
call fcn.00410a70
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x14
jle 0x46819b
mov esi, 0x14
jmp 0x4681ab
lea ecx, [esp + 0x78]
call fcn.00410a70
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [esp + 0x78]
call fcn.00416af0
sub eax, 5
cmp eax, 0x32
jle 0x4681c3
mov eax, 0x32
jmp 0x4681cf
lea ecx, [esp + 0x78]
call fcn.00416af0
sub eax, 5
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.004108d0
lea ecx, [esp + 0x30]
call fcn.004145f0
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00410d70
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
push eax
sub eax, dword [esp + 0x30]
lea edx, [edx + ecx + 5]
push edx
sub eax, 4
add ecx, 5
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00410d70
lea ecx, [esp + 0x20]
call fcn.0040ee00
mov ebp, 0x5605e4
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0
call fcn.0040ee00
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x10]
call fcn.0040ee00
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 2
call fcn.004145f0
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.004145f0
push esi
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x55e5e0]
push 0
push 0xfffffffffffffffc
lea ecx, [esp + 0x38]
push ecx
call dword [0x55e7c8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
lea esi, [esp + 0x30]
mov dword [eax + 0xc], ecx
call fcn.00467fd0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
lea esi, [esp + 0x28]
mov dword [eax + 0xc], ecx
call fcn.00467fd0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], edx
lea esi, [esp + 0x20]
mov dword [eax + 0xc], ecx
call fcn.00467fd0
push 0
push 0
push 0
push 0
call dword [0x55e098]
push eax
mov ecx, edi
call fcn.004f5f5b
push 2
lea ecx, [esp + 0x24]
call fcn.00411740
push eax
lea ecx, [esp + 0x20]
call fcn.00411740
mov edx, dword [edi + 4]
mov esi, dword [0x55e0e4]
push eax
push edx
call esi
push 3
lea ecx, [esp + 0x14]
call fcn.00411740
push eax
mov ecx, edi
call fcn.00411740
push eax
mov eax, dword [edi + 4]
push eax
call esi
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
call fcn.0040ee60
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0040ee60
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.0040ee60
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov esi, edi
mov dword [eax + 0xc], edx
call fcn.00467fd0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18