Function at 0x485170
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x544300
push eax
mov dword fs:[0], esp
sub esp, 0x330
lea eax, [esp + 0x38]
lea edx, [esp + 0xc]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
push edi
push eax
push edi
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, dword [ebp + 0x74]
lea eax, [esp + 0x60]
push edx
push eax
push edi
push ecx
mov ecx, ebp
call fcn.0047e860
mov esi, eax
cmp esi, edi
jne 0x4851c3
xor eax, eax
jmp 0x485a0e
push esi
mov ecx, ebp
call fcn.004a3f80
test eax, eax
je 0x4851ec
mov eax, dword [esp + 0x1c]
test byte [eax + 0xc], 0x10
je 0x4851ec
push 1
push 1
push eax
mov ecx, ebp
call fcn.004a4260
xor eax, eax
jmp 0x485a0e
mov eax, dword [esp + 0x4c]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x10], edi
jne 0x485208
mov dword [esp + 0x350], edi
mov dword [esp + 0x10], ebx
push edi
push ebx
push edi
mov ecx, ebp
call fcn.004a69c0
cmp esi, 0xe
je 0x4858e6
cmp esi, 0xf
je 0x4858e6
cmp esi, 0x10
je 0x4858e6
cmp esi, 0xd
je 0x485414
mov eax, dword [ebp + 0x3c]
xor ebx, ebx
dec eax
mov dword [esp + 0x24], edi
cmp eax, 3
ja case.default.0x485264
jmp dword [eax*4 + 0x485a2c]
lea eax, [esi - 8]
mov dword [esp + 0x20], 0x20000000
cmp eax, 4
ja case.default.0x485264
jmp dword [eax*4 + 0x485a3c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x350], edi
add eax, 2
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 0x54]
mov dword [esp + 0x20], 0x10000000
add ebx, 0xc
jmp case.default.0x485264
mov eax, dword [esp + 0x10]
mov dword [esp + 0x350], edi
add eax, 2
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], 1
lea ebx, [edx + 0x34]
jmp case.default.0x485264
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 0x14]
jmp case.default.0x485264
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
jmp case.default.0x485264
mov ecx, dword [esp + 0x1c]
cmp esi, 5
mov dword [esp + 0x20], 0x30000000
lea ebx, [ecx + 0xc]
jne case.default.0x485264
jmp 0x4852fd
mov edx, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], 0x40000000
lea ebx, [edx + 0x10]
je 0x4852f3
dec esi
je 0x4852f8
dec esi
je 0x4852fd
jmp case.default.0x485264
add dword [esp + 0x10], 2
add dword [esp + 0x10], 2
add dword [esp + 0x10], 2
cmp dword [esp + 0x350], 1
jne 0x485310
inc dword [esp + 0x14]
mov esi, dword [ebp + 0x5c]
lea ecx, [esp + 0x30]
call fcn.00473490
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x54d958
mov eax, dword [esp + 0x20]
push edi
push edi
push edi
push eax
push edi
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x360], 2
call fcn.004c7bf0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jl 0x485357
mov eax, ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push 1
push edi
push edx
mov dword [esp + 0x24], eax
push eax
mov eax, dword [esp + 0x5c]
mov ecx, 0x599ae0
push eax
call fcn.004eb240
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x2c]
push edi
push ecx
push edx
mov ecx, ebx
call fcn.004c6190
mov eax, dword [esp + 0x350]
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x4853a2
cmp eax, edi
jle 0x4853c4
jmp 0x4853a7
inc eax
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 0x74]
push edi
push 1
push edi
add eax, ebx
push edi
push eax
mov ecx, ebp
call fcn.004a5a10
push 1
push edi
push edi
mov ecx, ebp
call fcn.004a6440
push 1
push edi
mov ecx, ebp
call fcn.004a98d0
mov dword [esp + 0x28], 0x54d7d4
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 3
mov dword [esp + 0x2c], edi
call fcn.00473690
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.00473690
mov eax, 1
jmp 0x485a0e
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
cmp dword [ecx + 0xc8], edi
jne 0x485426
xor edx, edx
jmp 0x48542c
mov edx, dword [ecx + 0xc0]
cmp dword [ecx + 0x64], edi
jne 0x485435
xor eax, eax
jmp 0x485438
mov eax, dword [ecx + 0x5c]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
add eax, edx
push eax
call fcn.004cd260
test al, 2
je 0x485460
mov eax, dword [esp + 0x350]
mov ecx, ebp
push eax
push edi
call fcn.00486260
jmp 0x485a0e
lea ecx, [esp + 0x50]
call fcn.004473a0
lea ecx, [esp + 0x8c]
call fcn.0040c320
lea ecx, [esp + 0xe4]
mov dword [esp + 0x348], 4
call fcn.00518561
lea ecx, [esp + 0xf8]
mov byte [esp + 0x348], 5
call fcn.005189bf
lea ecx, [esp + 0x10c]
mov byte [esp + 0x348], 6
call fcn.00473490
mov esi, 0x54d910
mov dword [esp + 0x10c], esi
lea ecx, [esp + 0x120]
mov byte [esp + 0x348], 7
call fcn.005189bf
lea ecx, [esp + 0x134]
mov byte [esp + 0x348], 8
call fcn.005189bf
lea ecx, [esp + 0x148]
mov byte [esp + 0x348], 9
call fcn.00518561
lea ecx, [esp + 0x170]
mov byte [esp + 0x348], 0xa
call fcn.00473490
mov eax, dword [0x596a0c]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x190]
mov byte [esp + 0x348], 0xd
call fcn.00518561
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x348], 0xe
call fcn.00473490
mov dword [esp + 0x1a4], esi
mov dword [esp + method.CCommandLineInfo.virtual_0], 0x54d904
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], edi
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x348], 0x10
call fcn.005189bf
push edi
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x34c], 0x11
call fcn.0040bf10
mov dword [esp + fcn.004d2c70], 0x54d914
push edi
lea ecx, [esp + 0x208]
mov byte [esp + 0x34c], 0x12
call fcn.0040c230
push edi
lea ecx, [esp + 0x224]
mov byte [esp + 0x34c], 0x13
call fcn.0040c140
push edi
lea ecx, [esp + 0x244]
mov byte [esp + 0x34c], 0x14
call fcn.0040c290
mov byte [esp + 0x348], 0x15
push edi
lea ecx, [esp + 0x260]
call fcn.0040c260
push edi
lea ecx, [esp + 0x27c]
mov byte [esp + 0x34c], 0x16
call fcn.0040c2c0
push edi
lea ecx, [esp + 0x298]
mov byte [esp + 0x34c], 0x17
call fcn.0040c000
push edi
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0x18
call fcn.0040c060
lea ecx, [esp + 0x2d0]
mov byte [esp + 0x348], 0x19
call fcn.0040c2f0
mov eax, dword [0x596a0c]
mov dword [esp + 0x318], eax
mov dword [esp + 0x31c], eax
lea ecx, [esp + 0x160]
mov byte [esp + 0x348], 0x1c
push ecx
mov dword [esp + 0x1d0], 0xffff
mov dword [esp + 0x318], edi
mov dword [esp + 0x190], edi
mov dword [esp + 0x160], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 5
push edi
lea ecx, [esp + 0xec]
mov dword [esp + 0x330], edi
mov dword [esp + 0x32c], edi
mov dword [esp + 0x334], edi
mov dword [esp + 0x338], edi
mov dword [esp + 0x33c], edi
mov dword [esp + 0x344], edi
mov dword [esp + 0x340], edi
call fcn.005185f4
push 5
push edi
lea ecx, [esp + 0x100]
call fcn.00518a1f
push 5
push edi
lea ecx, [esp + 0x128]
call fcn.00518a1f
push 5
push edi
lea ecx, [esp + 0x13c]
call fcn.00518a1f
push 5
push edi
lea ecx, [esp + 0x150]
call fcn.005185f4
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
mov dword [esp + 0x27c], edx
mov dword [esp + 0x2cc], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
mov dword [esp + 0x298], ecx
mov dword [esp + 0x244], edx
mov dword [esp + 0x260], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
mov dword [esp + 0x23c], ecx
mov dword [esp + 0x208], edx
mov dword [esp + 0x200], eax
push 0x28
lea ecx, [esp + 0x2f0]
push ecx
call fcn.004743c0
add esp, 8
mov edx, dword [ebx + 0xcc]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x34c], 0x1d
call fcn.00455600
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, edi
je 0x485881
mov eax, dword [0x596a0c]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x14]
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
mov byte [esp + 0x34c], 0x20
call fcn.0040bf10
mov dword [ebx], 0x54d958
lea ebx, [esi + 0x34]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0x34c], 0x21
call fcn.0040bf10
mov dword [ebx], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x348], 0x22
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0x348], 0x23
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0x348], 0x24
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0x348], 0x25
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0x348], 0x26
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0x348], 0x27
call fcn.00473490
lea ecx, [esp + 0x50]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0xcc], ecx
jmp 0x485883
xor esi, esi
push edi
push edi
mov ecx, esi
mov byte [esp + 0x350], 0x1d
call fcn.004ccf80
mov ecx, dword [esi + 0xc]
push esi
or ecx, 2
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x1dc]
push edx
lea ecx, [esp + 0x1d8]
call fcn.00518b9e
mov eax, dword [esp + 0x350]
push edi
push edi
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebp
call fcn.00478a00
lea ecx, [esp + 0x50]
mov dword [esp + 0x348], 0xffffffff
call fcn.004027c0
mov eax, 1
jmp 0x485a0e
cmp dword [esp + 0x350], ebx
jne 0x4858f3
inc dword [esp + 0x14]
mov ebx, dword [ebp + 0x5c]
lea ecx, [esp + 0x30]
call fcn.00473490
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x54d938
cmp esi, 0xe
mov dword [esp + 0x348], edi
jne 0x485931
push edi
lea edx, [esp + 0x1f]
push 1
push edx
push edi
push edi
mov byte [esp + 0x2f], 0x16
push 0x10000000
jmp 0x485953
sub esi, 0xf
push edi
neg esi
sbb esi, esi
lea eax, [esp + 0x28]
push 4
and esi, 0x10000000
push eax
push edi
add esi, 0x20000000
push edi
mov dword [esp + 0x38], edi
push esi
lea ecx, [esp + 0x40]
call fcn.004c7960
mov edx, dword [esp + 0x14]
mov esi, 1
push esi
lea ecx, [esp + 0x2c]
push edi
push ecx
push edx
push 0x133
mov ecx, 0x599ae0
call fcn.004eb380
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x2c]
push edi
push eax
push ecx
mov ecx, dword [ebp + 0x5c]
add ecx, 0x260
call fcn.004c6190
mov eax, dword [esp + 0x350]
cmp eax, esi
mov eax, dword [esp + 0x10]
je 0x4859ab
cmp eax, edi
jle 0x4859cb
jmp 0x4859b0
inc eax
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x74]
push edi
push esi
push edi
add eax, ecx
push edi
push eax
mov ecx, ebp
call fcn.004a5a10
push esi
push edi
push edi
mov ecx, ebp
call fcn.004a6440
push esi
push edi
mov ecx, ebp
call fcn.004a98d0
mov dword [esp + 0x28], 0x54d7d4
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], esi
mov dword [esp + 0x2c], edi
call fcn.00473690
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.00473690
mov eax, esi
mov ecx, dword [esp + 0x340]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x33c
ret 4