Function at 0x4851b0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5443b0
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.0047e8a0
mov esi, eax
cmp esi, edi
jne 0x485203
xor eax, eax
jmp 0x485a4e
push esi
mov ecx, ebp
call fcn.004a3fd0
test eax, eax
je 0x48522c
mov eax, dword [esp + 0x1c]
test byte [eax + 0xc], 0x10
je 0x48522c
push 1
push 1
push eax
mov ecx, ebp
call fcn.004a42b0
xor eax, eax
jmp 0x485a4e
mov eax, dword [esp + 0x4c]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x10], edi
jne 0x485248
mov dword [esp + 0x350], edi
mov dword [esp + 0x10], ebx
push edi
push ebx
push edi
mov ecx, ebp
call fcn.004a6a00
cmp esi, 0xe
je 0x485926
cmp esi, 0xf
je 0x485926
cmp esi, 0x10
je 0x485926
cmp esi, 0xd
je 0x485454
mov eax, dword [ebp + 0x3c]
xor ebx, ebx
dec eax
mov dword [esp + 0x24], edi
cmp eax, 3
ja case.default.0x4852a4
jmp dword [eax*4 + 0x485a6c]
lea eax, [esi - 8]
mov dword [esp + 0x20], 0x20000000
cmp eax, 4
ja case.default.0x4852a4
jmp dword [eax*4 + 0x485a7c]
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.0x4852a4
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.0x4852a4
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 0x14]
jmp case.default.0x4852a4
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
jmp case.default.0x4852a4
mov ecx, dword [esp + 0x1c]
cmp esi, 5
mov dword [esp + 0x20], 0x30000000
lea ebx, [ecx + 0xc]
jne case.default.0x4852a4
jmp 0x48533d
mov edx, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], 0x40000000
lea ebx, [edx + 0x10]
je 0x485333
dec esi
je 0x485338
dec esi
je 0x48533d
jmp case.default.0x4852a4
add dword [esp + 0x10], 2
add dword [esp + 0x10], 2
add dword [esp + 0x10], 2
cmp dword [esp + 0x350], 1
jne 0x485350
inc dword [esp + 0x14]
mov esi, dword [ebp + 0x5c]
lea ecx, [esp + 0x30]
call fcn.004733a0
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.004c7c80
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jl 0x485397
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, 0x599b30
push eax
call fcn.004eb2e0
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x2c]
push edi
push ecx
push edx
mov ecx, ebx
call fcn.004c6220
mov eax, dword [esp + 0x350]
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x4853e2
cmp eax, edi
jle 0x485404
jmp 0x4853e7
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.004a5a50
push 1
push edi
push edi
mov ecx, ebp
call fcn.004a6480
push 1
push edi
mov ecx, ebp
call fcn.004a9910
mov dword [esp + 0x28], 0x54d7d4
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 3
mov dword [esp + 0x2c], edi
call fcn.004735a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.004735a0
mov eax, 1
jmp 0x485a4e
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
cmp dword [ecx + 0xc8], edi
jne 0x485466
xor edx, edx
jmp 0x48546c
mov edx, dword [ecx + 0xc0]
cmp dword [ecx + 0x64], edi
jne 0x485475
xor eax, eax
jmp 0x485478
mov eax, dword [ecx + 0x5c]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
add eax, edx
push eax
call fcn.004cd2f0
test al, 2
je 0x4854a0
mov eax, dword [esp + 0x350]
mov ecx, ebp
push eax
push edi
call fcn.004862a0
jmp 0x485a4e
lea ecx, [esp + 0x50]
call fcn.00447590
lea ecx, [esp + 0x8c]
call fcn.0040c550
lea ecx, [esp + 0xe4]
mov dword [esp + 0x348], 4
call fcn.005185f1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x348], 5
call fcn.00518a4f
lea ecx, [esp + 0x10c]
mov byte [esp + 0x348], 6
call fcn.004733a0
mov esi, 0x54d910
mov dword [esp + 0x10c], esi
lea ecx, [esp + 0x120]
mov byte [esp + 0x348], 7
call fcn.00518a4f
lea ecx, [esp + 0x134]
mov byte [esp + 0x348], 8
call fcn.00518a4f
lea ecx, [esp + 0x148]
mov byte [esp + 0x348], 9
call fcn.005185f1
lea ecx, [esp + 0x170]
mov byte [esp + 0x348], 0xa
call fcn.004733a0
mov eax, dword [0x596a5c]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x190]
mov byte [esp + 0x348], 0xd
call fcn.005185f1
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x348], 0xe
call fcn.004733a0
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1b8], 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.00518a4f
push edi
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x34c], 0x11
call fcn.0040c140
mov dword [esp + fcn.004d2d00], 0x54d914
push edi
lea ecx, [esp + 0x208]
mov byte [esp + 0x34c], 0x12
call fcn.0040c460
push edi
lea ecx, [esp + 0x224]
mov byte [esp + 0x34c], 0x13
call fcn.0040c370
push edi
lea ecx, [esp + 0x244]
mov byte [esp + 0x34c], 0x14
call fcn.0040c4c0
mov byte [esp + 0x348], 0x15
push edi
lea ecx, [esp + 0x260]
call fcn.0040c490
push edi
lea ecx, [esp + 0x27c]
mov byte [esp + 0x34c], 0x16
call fcn.0040c4f0
push edi
lea ecx, [esp + 0x298]
mov byte [esp + 0x34c], 0x17
call fcn.0040c230
push edi
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0x18
call fcn.0040c290
lea ecx, [esp + 0x2d0]
mov byte [esp + 0x348], 0x19
call fcn.0040c520
mov eax, dword [0x596a5c]
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.00518684
push 5
push edi
lea ecx, [esp + 0x100]
call fcn.00518aaf
push 5
push edi
lea ecx, [esp + 0x128]
call fcn.00518aaf
push 5
push edi
lea ecx, [esp + 0x13c]
call fcn.00518aaf
push 5
push edi
lea ecx, [esp + 0x150]
call fcn.00518684
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.004742d0
add esp, 8
mov edx, dword [ebx + 0xcc]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x34c], 0x1d
call fcn.004557e0
push 0xd0
call fcn.0051a8b5
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, edi
je 0x4858c1
mov eax, dword [0x596a5c]
mov dword [esi], eax
mov ecx, dword [0x596a5c]
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.0040c140
mov dword [ebx], 0x54d958
lea ebx, [esi + 0x34]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0x34c], 0x21
call fcn.0040c140
mov dword [ebx], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x348], 0x22
call fcn.004733a0
lea ecx, [esi + 0x68]
mov byte [esp + 0x348], 0x23
call fcn.004733a0
lea ecx, [esi + 0x7c]
mov byte [esp + 0x348], 0x24
call fcn.004733a0
lea ecx, [esi + 0x90]
mov byte [esp + 0x348], 0x25
call fcn.004733a0
lea ecx, [esi + 0xa4]
mov byte [esp + 0x348], 0x26
call fcn.004733a0
lea ecx, [esi + 0xb8]
mov byte [esp + 0x348], 0x27
call fcn.004733a0
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 0x4858c3
xor esi, esi
push edi
push edi
mov ecx, esi
mov byte [esp + 0x350], 0x1d
call fcn.004cd010
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.00518c2e
mov eax, dword [esp + 0x350]
push edi
push edi
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebp
call fcn.00478a40
lea ecx, [esp + 0x50]
mov dword [esp + 0x348], 0xffffffff
call fcn.004027c0
mov eax, 1
jmp 0x485a4e
cmp dword [esp + 0x350], ebx
jne 0x485933
inc dword [esp + 0x14]
mov ebx, dword [ebp + 0x5c]
lea ecx, [esp + 0x30]
call fcn.004733a0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x54d938
cmp esi, 0xe
mov dword [esp + 0x348], edi
jne 0x485971
push edi
lea edx, [esp + 0x1f]
push 1
push edx
push edi
push edi
mov byte [esp + 0x2f], 0x16
push 0x10000000
jmp 0x485993
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.004c79f0
mov edx, dword [esp + 0x14]
mov esi, 1
push esi
lea ecx, [esp + 0x2c]
push edi
push ecx
push edx
push 0x133
mov ecx, 0x599b30
call fcn.004eb420
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.004c6220
mov eax, dword [esp + 0x350]
cmp eax, esi
mov eax, dword [esp + 0x10]
je 0x4859eb
cmp eax, edi
jle 0x485a0b
jmp 0x4859f0
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.004a5a50
push esi
push edi
push edi
mov ecx, ebp
call fcn.004a6480
push esi
push edi
mov ecx, ebp
call fcn.004a9910
mov dword [esp + 0x28], 0x54d7d4
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], esi
mov dword [esp + 0x2c], edi
call fcn.004735a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.004735a0
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