Function at 0x546ca0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553685
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push 0x571f7c
mov ecx, dword [ebp - 0x22c]
call fcn.0054a570
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
mov dword [eax], 0x575548
mov ecx, dword [ebp - 0x22c]
add ecx, 0x14
call fcn.00402010
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
add ecx, 0x18
call fcn.00402010
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x22c]
add ecx, 0x1c
call fcn.00402010
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
add ecx, 0x20
call fcn.00402010
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x22c]
add ecx, 0x24
call fcn.00402010
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x22c]
add ecx, 0x28
call fcn.00402010
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x22c]
add ecx, 0x3c
call fcn.00402010
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x22c]
add ecx, 0x40
call fcn.00402010
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x22c]
add ecx, 0x50
call fcn.00402010
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x22c]
add ecx, 0x54
call fcn.00402010
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x22c]
add ecx, 0x58
call fcn.00402010
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x22c]
add ecx, 0x68
call fcn.00402010
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x22c]
add ecx, 0x6c
call fcn.0054ac60
mov byte [ebp - 4], 0xd
push 0x407840
push 0x4064c0
push 0xd
push 0x10
mov ecx, dword [ebp - 0x22c]
add ecx, 0x88
push ecx
call fcn.0050e31c
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x22c]
add ecx, 0x15c
call fcn.00407070
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x22c]
add ecx, 0x170
call fcn.00402010
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x22c]
add ecx, 0x174
call fcn.00402010
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x30], 1
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 0x34], 1
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x38], 0xc8
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x60], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0050cad0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [0x55e02c]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0x1c
call fcn.004039d0
lea edx, [ebp - 0x228]
push edx
call fcn.004075f0
add esp, 4
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0x20
call fcn.00402560
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x228]
call fcn.00408b90
mov dword [ebp - 0x224], 0
jmp 0x546f52
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0xd
jge 0x546f86
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax*4 + 0x5b8d7c]
push ecx
mov edx, dword [ebp - 0x224]
shl edx, 4
mov eax, dword [ebp - 0x22c]
lea ecx, [eax + edx + 0x88]
call fcn.004039d0
jmp 0x546f43
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 0x158], 1
push str.Standard
mov ecx, dword [ebp - 0x22c]
add ecx, 0x3c
call fcn.004039d0
push 0x571fb4
mov ecx, dword [ebp - 0x22c]
add ecx, 0x40
call fcn.004039d0
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x44], 1
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 0x64], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050c749
mov esp, ebp
pop ebp
ret